Question: Display text to the screen. Accept user input from the keyboard. Perform calculations. 1. Prompt for and accept 4 floating point numbers from the user.

Display text to the screen. Accept user input from the keyboard. Perform calculations. 1. Prompt for and accept 4 floating point numbers from the user. 2. Calculate the sum and average of the 4 numbers. 3. Display the sum and average to the user.4. Run the programm.\

Example Program Run: What is your first number? 1.1 What is your second number? 4.4 What is your third number? 6.66 What is your fourth number? 2.2 The sum is 14.36 The average is 3.59

May name first number x1, second number x2 and so forth. Thank you

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!