Presentation is loading. Please wait.

Presentation is loading. Please wait.

Variables and input/output

Similar presentations


Presentation on theme: "Variables and input/output"— Presentation transcript:

1 Variables and input/output
Java Mini Project Variables and input/output

2 Requirements Build a simple calculator to add 2 numbers.
The calculator should prompt for 2 numbers and then display the sum of the numbers. The numbers can be integers or decimal numbers.

3 Storyboard Your final program should look like this:

4 =Double.parseDouble(string)
Due… You have today to complete this assignment. I will grade it tomorrow Use the body mass calculator code as a guide. To parse a decimal number instead of an integer you will need to use the method: =Double.parseDouble(string) This is worth 20 points.


Download ppt "Variables and input/output"

Similar presentations


Ads by Google