#include<iostream>
#include<iomanip>
using namespace std;
int main ( )
{
double grade1, grade2, grade3, grade4, grade5;
double avg;
int students;
char lettergrade;
cout<<"How many students there are to be processed?n";
cin>>students;
for(int i=1; i<=students; i++) {
Fisrt use code tags please :)
Then what is that "t" ? Did you mean '\t' ?
Last have you learn aabout array ? In the way you did it, is you're just overwrite almost everytng instead of saving it