Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions