Search for question
Question

The following program is designed to read in a number from the user, check if it is between 1 and 10, if not, the user is repeatedly they entered:

What, if any, statement needs to be added to line 12 to make this program work?

Select one:

O a. return 0;

O b. continue;

O c. exit;

O d. cycle;

O e. break;

O f. cout << "Valid input!";

Fig: 1

Fig: 2