Question: Create a program to ask user to input 10 students result (1=pass, 0=fail) by using a counter control loop. Determine and print the total student

Create a program to ask user to input 10 students result (1=pass, 0=fail) by using a counter control loop. Determine and print the total student that passed, and total student that failed. If more than 8 student pass, print Good job instructor!.

The program needs to validate its inputs. On any input, if the value entered is other than 1 or 0, keep looping until the user enters a correct value.

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!