hey guys i got this program that has many errors and i don't know how to correct them
Code:#include<stdio.h> #include<iostream> main() { int total=0,grade,gradecounter=1,average; while(gradecounter<=10) { cout("enter grade"); cin("%d",&grade); total=total+grade gradecounter ++ } average+total/10 cout("the class average is"); cin("%d",average); system("pause"); }