Question: Write a program that asks the user for five numbers and then prints out the average of those numbers. When you run your program,

Write a program that asks the user for five numbers and then

 

Write a program that asks the user for five numbers and then prints out the average of those numbers. When you run your program, it should match the following format: Please enter five numbers. -2.4 5.1 6.0 123.8 -19.0 The average of those numbers is: 22.7

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 Programming Questions!