Friday
October 31, 2014

Homework Help: c++

Posted by jermaine on Friday, May 18, 2012 at 10:53am.

Write a program that asks the user to input a grade that he or she received on an exam. The grade is an integer from 0 to 100 inclusive. The program should convert the numeric grade into the equivalent letter grade. Do the conversion by using a function Letter_Grade () that converts a numeric grade in the range 0-100 to the equivalent letter grade. The function should have one parameter, the integer grade. The return value of the function should be A if the grade is 90 to 100; B if the grade is 80 to 89; C if the grade is 70-79; D if the grade is 65 to 69; and F if the grade is 64 or lower. After converting the grade, the program should display the numeric grade and the equivalent letter grade.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Algorithm - Algorithm Verification Consider the following selection statement ...
computer science - Class scores: Write a program that calculates the total grade...
Help Help - Consider the following selection statement where X is an integer ...
programming - Can You Please help me understand how to do this and what i have ...
l;k - Write a program that asks the user to enter the studentís name (first and ...
programming - I am in IT/210 and am having problems with the entire class. But ...
programming logic - The program will accept user input to store the student's ...
Programming - Write a pseudocode program that asks the user for an integer ...
Programming in c++ - Write a program in c++ that inputs a number [1-12] from the...
Programming in c++ - Draw a flow-chart and Write a program that asks the user ...

Search
Members