# include<iostream>
# include<fstream>
# include<string>
# include<iomanip>
using namespace std;
using std::cin;
using std::cout;
using std::endl;
int main()
{
while (infile >> name[i])
{
for (int j = 0; j < 5; j++)
infile >> scores[i][j];
i++;
}
int main(int argc, char* argv[])
int grades = 4;
int* grades;
string (100,90,76,78.5);
cout << argv "string" << endl;
cout << "please enter grades" < endl;
cin>>avrg
System "pause"
return 0;
}
Could you use code tags? Also, what is the problem you are having?
I just wanted to know if it looked right. Also i don't know what code tags are