Question: 5 4 5 2 8 8 . 3 9 5 5 4 6 8 qx 3 2 9 y 7 Jump to level 1 The

545288.3955468 qx 329y7
Jump to level 1
The mean of three numbers, num1, num2, and num3, is given by mean ))/(3.0(um3. Read double variables num1, num2, and num3 from input, respectively. Then, compute meanOfThree using the formula. Finally, output "Mean is " followed by the value of meanOfThree to five digits after the decimal point. End with a newline.
Ex: If the input is 33.024.0,36.0, then the output is:
Mean is 31.00000
Note: printf(0 can be used with "%.5 f" to output a double to 5 digits after the decimal point.
import java.util.Scanner;
public class MeanOfThree {
public static void main(String args){
Scanner scnr = new Scanner(System. in);
I/* Your code goes here */
}
}
 545288.3955468 qx 329y7 Jump to level 1 The mean of three

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!