yeah i know but how can i say it ma mind gonna blow now
#include <iostream>
using namespace std;
int main()
{
int NMBR_OF_STUDENTS = 0;
double counter = 0.0;
double grade = 0.0;
double HIGH_GRADE = 0.0;
cout<< "How many students do you need to enter grades for? " ;
cin>>NMBR_OF_STUDENTS;
cout<<endl;
cout<< "Enter grade \n";
Cin >> HIGH_GRADE;
while (counter < NMBR_OF_STUDENTSSTUDENTS-1)
{
cout<< "Enter grade " << counter + 1;
cout<< " ===> ";
cin>> grade;
//need to calculate for highest grade but no clue
// here you go
If ( HIGH_GRADE < grade)
HIGH_GRADE = grade;
counter ++;
}
return (0);
}
Cout <<" highest grade is " << HIGH_GRADE;
It look something like this
I can't write code in mobile 😁