how would the java file look like when prompting for a name integer another integer 5155337

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 “%s”, “%d”, and “%f” has to be used.


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
media%2F709%2F709967a3-f8f5-4b3e-8628-37 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

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now