Variables and input/output Java Mini Project Variables and input/output
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.
Storyboard Your final program should look like this:
=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.