what's the wrong with this code ?? ..it doesn't make the prossecc
just typing the marks then nothing !!
//program to get degrees of ten students in exam and compute the average exam degree of them
#include<iostream>
using namespace std;
int main()
{
int mark,i;
int average,sum=0;
cout<<"enter 10 marks :";
for(i=0;i<=10;i++)
{
cin>>mark;
sum+=mark
}
average=sum/i;
cout<<"average = "<<average<<endl;
return 0;
}