View the step-by-step solution to:

How to write program that takes in a numeric grades of student in class.y As students in class vary semester to semester, you will keep track of...

How to write program that takes in a numeric grades of student in class.y As students in class vary semester to semester, you will keep track of students grades you input.

Use loop and do:

1. Read in a numeric grade from a student. 2. Convert the numeric grade to a letter grade using the grade policies. 3. Keep a running total of the numeric grades entered. 4. Keep a count of the number of grades entered. 5. Issue a message that comments on the letter grade earned. for example, you may write "You made an F! Obviously you did not study!" 6. At the end the program will calculate a class average unless there were no grades entered. 

The output of the program will include the individual grades converted, the message issued to the student, a class average, and the number of grades entered. 

Top Answer

Idea: Run a while loop inside which ask the user for the grade. If it is -1, break out of the loop. Else, convert it... View the full answer

1 comment
  • Thank you for great explanation .
    • mn1306
    • Oct 04, 2018 at 8:38am

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online