Question: Fix this program. This program has two syntax errors, one runtime error and one logical error. # INPUT fltGrade1 = float(input(What is your first grade?

Fix this program.

This program has two syntax errors, one runtime error and one logical error.

# INPUT

fltGrade1 = float(input("What is your first grade? => "))

fltGrade2 = float(input("What is your second grade? => "))

ftlGrade3 = float(input("What is your third grade? => ")

intNumCls = 3 ## Number of classes

fltAveGrd = 0.0 ## Average Grade

# PROCESSING

fltAveGrd = fltGrade1 + fltGrade2 + fltGrade3/intNumCls

# OUTPUT

print("The Average Grade is",fltAveGrd

Fix this program and text with the following output

What is your first grade? => 80

What is your second grade? => 90

What is your third grade? => 60

The Average Grade is 76.66666666666667

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!