HI!!!
I'm trying to make a program to get the course average and the grade letter; the programe should ask for the last name, midterm grade and final grade,and get the couse average and the grade letter as the a final output.
the midterm test = 50% and the final test = 50% of the course average.
i've tried: courseaverage= midtermgrade+fianlgrade
cout<<courseaverage<<endl;
but did not work, can anyone tell me what do i have to do to get the course average and the letter grade??
This is what i got so far:
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
char LastName[20];
int midtermGrade;
double finalGrade;
double courseAverage;
char letterGrade(double numericgrade);