Question: Write JavaScript code that asks user to enter CGPA. Based on the information in Table 1, display the appropriate message in the following format:

Write JavaScript code that asks user to enter CGPA. Based on the 

Write JavaScript code that asks user to enter CGPA. Based on the information in Table 1, display the appropriate message in the following format: "Your CGPA is , you are a " Display "Incorrect CGPA", if the value entered is out of range: CGPA 3.50 -4.00 3.00-3.49 2.20 -2.99 2.00 -2.19 Message First class Second Class Upper Second Class Lower Third Class Table 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!