// ******************************************************************** // FILE: Average.java // Purpose: Read three integers from the user and print their average // ******************************************************************** import __________________________________________; public class Average { public static void main(String[] args) { int val1, val2, val3; double average; // Create a Scanner object named scan __________________________________________________ ; // get three values from user System.out.println("Please enter three integers and " + "I will compute their average"); __________________________________________________ ; __________________________________________________ ; __________________________________________________ ; //compute the average __________________________________________________ ; //print the average ______________________________________________________ ; } }
int a = 3, b = 10, c = 7; double w = 12.9, y = 3.2;
- a + b * c
- a - b - c
- a / b
- b / a
- a - b / c
- w / y
- y / w
- a + w / b
- a % b / y
- b % a
- w % y