#This program is Produced by tnyiu #This program is used for return average of three number given and congra' if greater than 90 a = float(raw_input("Please enter the first number (0 - 100): ")) while a < 0 or a > 100: print "\nNumber must between 0 and 100" a = float(raw_input("Please enter a number between 0 and 100: ")) b = float(raw_input("Please enter the second number (0 - 100): ")) while b < 0 or b > 100: print "\nNumber must between 0 and 100" b = float(raw_input("Please enter a number between 0 and 100: ")) c = float(raw_input("Please enter the third number (0 - 100): ")) while c < 0 or c > 100: print "\nNumber must between 0 and 100" c = float(raw_input("Please enter a number between 0 and 100: ")) average = float((a + b + c)/3) print "The average of the three numbers is : ", average if average > 90: print "Congratulation, the average of your three numbers is greater than 90!!" else: print "The average of your three numbers is less than 90." raw_input("\n\nPress Enter Key to Exit.")