Answered step by step
Verified Expert Solution
Link Copied!

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 image text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design And Implementation

Authors: David M. Kroenke

5th Edition

B000CSIH5A, 978-0023668814

More Books

Students also viewed these Databases questions

Question

4. Does cultural aptitude impact ones emotional intelligence?

Answered: 1 week ago