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