Problem

thnx
Last edited on
Use code tags please!
.
Last edited on
check back in a little, ill edit this post and see what i can find.

EDIT:

1
2
3
4
if (grade = A_plus) 
		{ 
		cout << "Your grade is A+"<<"\n";
		}

You set grade equal to A_plus in this if statement. You need to use the compare operator '=='. This should fix the brunt of your issues.
Last edited on
.
Last edited on
?
change
1
2
3
4
else if(grade > gradee)
	{
	cout << "your grade is increased by:" << increased1 = grade - gradee;
        }


to

1
2
3
4
5
if(grade > gradee)
	{ 
        increased1 = grade - gradee;
	cout << "your grade is increased by:" << increased1;
        }


This if statement should be stand-alone
Last edited on
.
Last edited on
Topic archived. No new replies allowed.