Please send questions to
st10@humboldt.edu .
/*
Contract: main: void -> int
Purpose: testing program for the function describe_grade
Example: when the user runs the program test_describe_grade,
the following will be printed to the screen:
Testing describe_grade:
A: Excellent
b: Very Good
C: Acceptable
d: Marginal
F: Insufficient
g: Unrecognized Grade
by: Sharon M. Tuttle
last_modified: 4-27-07
*/
#include <iostream>
#include "describe_grade.h"
using namespace std;
int main()
{
cout << endl;
cout << "Testing describe_grade: " << endl;
cout << "A: ";
describe_grade('A');
cout << "b: ";
describe_grade('b');
cout << "C: ";
describe_grade('C');
cout << "d: ";
describe_grade('d');
cout << "F: ";
describe_grade('F');
cout << "g: ";
describe_grade('g');
cout << endl;
return EXIT_SUCCESS;
}