1. LIU requires a small program that allows a student to enter his/her GPA. The program then should display an appropria
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. LIU requires a small program that allows a student to enter his/her GPA. The program then should display an appropria
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”.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!