Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C Programming- I need one source code file but 3 images of each code running. Each will show one set of test data. The first

C Programming- I need one source code file but 3 images of each code running. Each will show one set of test data.
The first set of test data is given in the instructions.
image text in transcribed
You're the teacher now! You need to count how many passing grades are entered. We don't know how many grades there will be. Use a sentinel controlled while loop that will ask the user to enter student grades until a value of -1 is entered. Use a counter variable to count all the grades that are passing grades, where 70 is the minimum passing grade (I know, you're a tough grader!) If there are any grades that are out of the valid range (O through 100), present an error message to the user, and do not count that grade as passing (or valid). We also would like to see what percentage of the valid grades are passing. Create 3 test cases. Use this as one of them: Grades Entered: 45 90 70 87 123 100 -1 Expected Results That is not a valid grade! You entered 4 passing grades. 80.0% of the valid grades are passing. Create two more sets of test data of your own, and include screenshots of your program running them. Demonstrate all program functionality. Activat Go to PC

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

More Books

Students also viewed these Databases questions

Question

What are the steps in the training and development process?

Answered: 1 week ago

Question

Question Can employees make contributions to a profit sharing plan?

Answered: 1 week ago