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
Get step-by-step solutions from verified subject matter experts
