Question: I have to design a webpage that asks user to enter 3 grades for CSC101. Then by calling the function AVG, find the average. If

I have to design a webpage that asks user to enter 3 grades for CSC101. Then by calling the function AVG, find the average. If the average is greater than 60, shows the message: you passed. But if it is less than 60, show message: you failed.

BELOW IS MY CODE, BUT NO MESSAGE IS GENERATED. WHERE AM I GOING WRONG.

AVERAGE

Please enter your 3 grades for CSC101:

Grade1: Grade2: Grade3:


RESULTS:

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 Databases Questions!