Question: 1. Using Java, Prompt the user to input one integer and one real number and output the two numbers. 2. Convert the real number to
Enter an integer: 14 Enter a real number: 11.28 The inputs are: 14 and 11.28 (2) Convert the real number to integer and output the integer (2 pts) 11.25 to integer is: 11 (2) Perform division and modulus on these two integers and output the result (3 pts) | 14 % 11 = 3 (3) Find the average of these two integers (3 pts) average of 14 and 11 is 12.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
