This may be a stupid question but I have to ask.
I am attempting to learn C++ using a book by Deitel and noticed an if/else statement written:
if ( grade >= 90 )
cout << "A";
else if ( grade >= 80 )
cout << "B";
else if (grade >= 70 )
cout << "C";
else...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.