While Loop Exercises
Contents
While Loop Exercises#
Exercise 1#
Write a program that takes integers from the user and returns the average. Use a while loop and make an empty string the stop criteria.
Exercise 2#
Write a program that takes integers from the user and returns the average. Use a while loop and make negative number the stop criteria.
Exercise 3#
Write a program that takes test grades from the user and returns their average and the letter grade of the average.Use a while loop and make negative number the stop criteria. A >=90 B 80-89 C 70-79 D 60-69 F 59 or less
Exercise 4#
Write a program that takes an integer and counts down to zero – print the value