Question: Answer the following question about this module's topics: Write the code, using a loop, that will ask the user for integers until the user enters

Answer the following question about this module's topics: Write the code, using a loop, that will ask the user for integers until the user enters -1. After exiting the loop, average the numbers and display the output to the screen. Make sure you use a primer and changer. Also, don't forget to protect against divide by 0.

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!