// The purpose of this Lab is to start the program used in Lab 1 and modify it
// to calculate the average of 4 grades entered by the user and display the results
// on the console through the use of the math operators in C++.
// Part 2 of the Lab The modify the program of Part 1 to calculate a final grade out 100% from the following data:
// Grades 1 & 2 are Quiz grades out of 10 points and count for 15% of the final grade.
// Grade 3 is a term paper, graded with an A, B C, D or F where A = 95, B = 85, C = 75, D = 65 and F = 55, and count for 40% of the final grade.
// Grade 4 is the number of points received on the final. The final exam was out of 75 total points and is 45% of the final grade.
#include "stdafx.h"
#include <iostream>
#include <iomanip>
using namespace std;
int main ()
{
int G1;
int G2;
int G3;
int G4;
cout << " This program will average 4 grades entered by " << endl;
cout << " the user and display the ouput on the console. " << endl;
cout << " Do not enter characters, such as A, B or C into " << endl;
cout << " the input, use only numbers 1-100 " << endl;
cout << " Please enter your 4 grades, one at a time " << endl;
cout << " Enter your first grade:" << endl;
cin >> G1;
cout << " Enter your second grade:" << endl;
cin >> G2;
cout << " Enter your third grade:" << endl;
cin >> G3;
cout << " Enter your fourth grade:" << endl;
cin >> G4;
cout << " The average is " << endl;
cout << (G1 + G2 + G3 + G4)/ 4;
//This gives Letter Grades
char usergrade;
int
}