










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











๎
๎
๎
๎
๎
๎
๎
๎
๎
๎
๎
๎
// ifdemo.cpp // demonstrates IF statement #include
๎
๎
๎
๎
๎
// badelse.cpp // demonstrates ELSE matched with wrong IF #include
Question: Write a program that asks the user to enter his/her GPA. It must display the grade according to following criteria. (Note: If else if statements should be used.) GPA GRADE 4.00 A 3.500 โ 3.999 B+ 3.000 โ 3.499 B 2.500 โ 2.999 C+ 2.000 โ 2.499 C 1.000 โ 2.000 D 0 โ 1.000 F docsity.com
๎