Question: QUESTION 6 If you enter 1 2 3, when you run this program, what will be the output? import java util Scanner, public class Test1
QUESTION 6 If you enter 1 2 3, when you run this program, what will be the output? import java util Scanner, public class Test1 public static void main(strngo args Scanner input new Scanner(System.in); double number 1-input nextDouble0; double number 2-input nextDouble0; double number3 input nextDouble0; ll Compute average Display result System out println(average); 1.0 2.0 3.0 4.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
