0
What is the mistake in this program ?? :)
#include <iostream> using namespace std; int main() '{ int counter=1; int grade,sum; sum=0; grade=0; while(counter<=6) {cout<<"the grade of student "<<counter<<endl; cin>>grade; sum=sum+grade; counter++ } cout<<"the average is ="<<sum/6<<endl; return 0
3 odpowiedzi
+ 1
thank you Moksh for ur help 😊
iam grateful to u 😊