Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using sentinel-controlled loop, write the code fragment that execute the following tasks: a. Read the student id and mark of Mathematic test several times until
Using sentinel-controlled loop, write the code fragment that execute the following tasks: a. Read the student id and mark of Mathematic test several times until the user has entered the student id 9999 to stop the process. b. Count and display the number of students who passed the test (passing mark is 50 and above). c. Count and display the number of students who failed the test (49 and below is failed). d. Count and display the average of student mark.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started