Question: How would the .java file look like when prompting for a name, integer, another integer, a double, and another double? I was also told that
Problem #2: Stupid Calculator You will write a program from scratch that accomplishes the following: You should prompt for and read a String (name) . You should prompt for and read two integers ( a and b) . You should prompt for and read two doubles ( c and d) . You should print out the following output: The name read in o The value of a + b The value of c + d o The value of a C o The value of b d
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
