COMS 104 MSU Mankato Create a Java Program Computer Programming Task
Question Description
This assignment can be found in Chapter 2 where you will read problems E2.4 and E2.5. Write a single Java program that outputs the requested information with formatting. You must use printf to format the output correctly. Use the table for printf formatting in Chapter 2 to help you work through your program.
Your program will create a scanner object to read input from the keyboard. Read in two integers with two separate variables storing those values. You will output the following items: sum, difference, product, average, the positive distance between the two values, the maximum, and the minimum. You will have to use some Math functions like min and max.
Name your java file PrintNumberStats.java. Compile and test the program. Write comments that show you understand both single line and multiple line comments. In the comments near the top of the program, make sure you name, date, and purpose of the program are in a JavaDoc style comment.
"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you "A" results."