Right i just start a BTECH course at collage and im doing c++ programming and im a bit stuck on this one
// Program using a For loop
# include <iostream.h>
void main ()
{
int count,num,total;
total=0;
for (count=1; count<11; count++)
{
cout<<"Enter A Number\n";
cin>>num;
total=total + num;
}
cout<<"The Total is "<<total<<"\n";
}
Right after i put numbers in i need to be able to work out the average after i put all ten in now sure how to do that
could any one help me please
Social Networking Bookmarks