1. LIU requires a small program that allows a student to enter his/her GPA. The program then should display an appropria
Posted: Thu Jul 14, 2022 2:06 pm
1. LIU requires a small program that allows a student to enterhis/her GPA. The program then should display an appropriate messagebased on the value of the GPA entered. If the GPA is less than 1.5,the system should display: “Too bad, you should consider changingyour major” If the GPA is greater than or equal to 1.5 and lessthan 2.0, the system should display: “You are still underprobation, work hard!” If the GPA is greater than or equal to 2.0and less than 3.0, the system should display: “Good GPA, you maywant to increase more” If the GPA is greater than or equal to 3.0,the system should display: “Excellent” If the GPA is enteredoutside the range (0.0 and 4.0), the system should display an errormessage: “INVALID GPA”.