aboutsummaryrefslogtreecommitdiff
path: root/stock.java
diff options
context:
space:
mode:
authormhunteman <mhunteman2@huskers.unl.edu>2022-07-10 15:34:10 -0500
committerMichael Hunteman <michael@michaelted.xyz>2022-07-21 21:22:21 -0500
commit6d8c7f5add72e0921bb00053c4910538810c3f16 (patch)
treedf72478e1f60838e2d2198bbb35d5b596a34b7db /stock.java
parent61076ace05293598cba23448d0926ff62cc1e6cc (diff)
Add user input with error handling
Diffstat (limited to 'stock.java')
-rw-r--r--stock.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/stock.java b/stock.java
deleted file mode 100644
index 9a15628..0000000
--- a/stock.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package stocks;
-
-public class Stock {
- int price, value;
- String ticker;
-
- public Stock() {
- price = 0;
- value = 0;
- ticker = "";
- }
-
- public Stock(int price, int value, String ticker) {
- this.price = price;
- this.value = value;
- this.ticker = ticker;
- }
-}