Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need Help With The TODO Numbers Tools Configure Window Help Edit View Project Build Run BB9- Projectl_NumberCalculationsja... X public static void main(String[] args) Scanner input
Need Help With The TODO Numbers Tools Configure Window Help Edit View Project Build Run BB9- Projectl_NumberCalculationsja... X public static void main(String[] args) Scanner input = new Scanner(System.in); int numberl; //first number int number2; //second number int number 3; //third number int largest; //largest value int smallest; // smallest value int sum // sum of numbers int product; //product of numbers int average: //average of numbers /* TODO#1: write a series of statements to read in three numbers and assign them to the variables numberi, number2, and numbers */ largest - numberi; //assume number is the largest smallest - numberi; //assume number is the smallest /* TODO#2: write code that compares all three numbers and sets the the largest and smallest accordingly */ 1/Performing calculations sum- numberl + number2 + number3; / - TODO#3: write statements to calculate the product and the average */ / - TODO:4: write statements to display the results */ Build Output General Output For Help, press F1 Build Output
Need Help With The TODO Numbers
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started