COMPUTER PROGRAMMING

Write a C program (with meaningful comments) to solve a problem described in English.    Create an IPO.
We want 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.  If there are any grades that are out of the range 0 – 100, present an error message to the user, and do not count that grade as passing.   We also would like to see what percentage of the valid grades are passing (Please note that this is calculated by dividing number of passing grades with number of valid grades and multiplying by 100).
Create two more test cases.
Use following one in addition to the two you create.
Grades Entered:                                      Expected Results
45
90
70
87
123                                                            “That is not a valid grade!”
100
-1                                                               You entered 4 passing grades.
80.0% of the valid grades entered are passing grades

to do:

An IPO or Flowchart for the problem (10 points)
Two test cases that show two sets of input data, and the expected results of running the program for each set of input data. These are to be written separately before running the program and taking the screen shots. ( 5 points)
The code that solves the passing grades problem. Remember to use meaningful comments. (60 points)
Output from running the program 3 different times.  Use two test cases that you created and the one I have given you. (5 points)

Place your order
(550 words)

Approximate price: $22

Homework help cost calculator

600 words
We'll send you the complete homework by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 customer support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • 4 hour deadline
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 300 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
× How can I help you?