WRITE AN ALGORITHM AND DRAW A FLOW CHART TO FIND AVERAGE AND PRINT THE GRADE AS PER THE AVERAGE. IF AVERAGE IS MORE THAN 90 PRINT "DISTINCTION". IF GRADE IS BETWEEN 60-90 PRINT" FIRST CLASS. IF THE AVERAGE LESS THAN 60 PRINT "SECOND CLASS "
Answers
Answered by
0
Answer:
The following algorithm is written in Python-
The algorithm is:
grade= list(map(int,input("Enter your grades: ").strip().split()))
average= mean(grade)
if average > 90:
print ('distinctive')
elif average>= 60 and average <= 90:
print ('First Class')
elif average<60:
print ('Second Class')
Similar questions