----jGRASP exec: java LandTractDemo
Enter the length and width of Tract 1: 10 20
Enter the length and width of Tract 2: 15 25
TRACT 1: length is 10.0, width is 20.0, area is 0.0
TRACT 2: length is 15.0, width is 25.0, area is 0.0
The tracts are NOT the same size
----jGRASP: operation complete.
----jGRASP exec: javac -g LandTractDemo.java
LandTractDemo.java:20: cannot find symbol
symbol : class LandTract
location: class LandTractDemo
LandTract tract1 = new LandTract(length, width);
^
LandTractDemo.java:20: cannot find symbol
symbol : class LandTract
location: class LandTractDemo
LandTract tract1 = new LandTract(length, width);
^
LandTractDemo.java:28: cannot find symbol
symbol : class LandTract
location: class LandTractDemo
LandTract tract2 = new LandTract(length, width);
^
LandTractDemo.java:28: cannot find symbol
symbol : class LandTract
location: class LandTractDemo
LandTract tract2 = new LandTract(length, width);
^
4 errors
----jGRASP wedge: exit code for process is 1.
----jGRASP exec: java salary
How many years will you work? 4
Year Salary Earned
--------------------------
1 $1,000.00
2 $2,000.00
3 $4,000.00
4 $8,000.00
Total pay: $15,000.00
Average salary: $3,750.00
----jGRASP: operation complete.
----jGRASP exec: java salary
How many years will you work? 4
Year Salary Earned
--------------------------
1 *
2 **
3 ****
4 ********
Total pay: $15,000.00
Average salary: $3,750.00
----jGRASP: operation complete.
----jGRASP exec: java Game
Enter your choice (Same or Different):
same
Computer flipped Tails and Heads
YOU LOSE
Would you like to try again (yes or no):
yes
Enter your choice (Same or Different):
Computer flipped Tails and Tails
YOU LOSE
Enter your choice (Same or Different):