Question: C Program that prompts user for input to solve a problem. After problem is solved it repeats for user input and continues to solve until

C Program that prompts user for input to solve a problem. After problem is solved it repeats for user input and continues to solve until user prompts program to exit on command by entering 0. I want to know how to make a program repeat itself without exiting until user prompts it to. For example the program will ask user for a set of numbers to solve a problem, then it will solve it. Once its solved the program does not exit instead it asks user for a set of numbers again and solves it until user enters 0 and program will then exit.

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!