this one works for me:
cout<<"Enter number of grade input: ";
cin>>numgrade;
for (int x=0;x<numgrade;x++)
{
cout<<"Enter a grade in letter format: ";
cin>>usergrade;
switch (usergrade)
{
case 'A':
totalgrade+=4;
break;
//and so on...
carnage
Junior Poster in Training
55 posts since Jan 2008
Reputation Points: 34
Solved Threads: 2
Skill Endorsements: 0
When you post a request for help, you need to tell us what's wrong. Don't just tell us there's an error and expect us to look for the error.
WaltP
Posting Sage w/ dash of thyme
11,404 posts since May 2006
Reputation Points: 3,421
Solved Threads: 1,055
Skill Endorsements: 37
Question Answered as of 5 Years Ago by
SpunkyMan,
WaltP
and
carnage