struct student
{
char name[20];
int math;
int science;
int history;
int english;
int total;
}
I got a struture in c++ as follows how can i get the students marks limited it betwwen 0and100 marks and?
somebody else recently asked this same question here: http://answers.yahoo.com/question/index;...
You may want to watch that link for an answer.
Reply:while entering the value you must check it one by one. or using set width and precision u can do but it wont be very effective.
survey monkey
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment