Write Code Practice #1

1.  Write a program to input numbers from the user until the user enters a negative number.  Your program will then print the average score, the lowest score, and the number of even scores. 

2.  Write a program to get numbers from the user until the number entered is divisible by 5.  For each number entered, print if the number is odd or even.  If the number is above 80, print "good score"  When the loop is exited, print the highest number entered.  Print the average of all numbers above 80, compared to all scores entered.  Print if more odd or even numbers were entered.

3.  Write a program to get pairs of numbers from the user until the difference between these 2 numbers is more than 10.  For each pair of numbers, print which one is bigger and by how much.  If both numbers are odd, print that fact.  When the user exits the loop, print the largest of all the second numbers, and the average of all first numbers.

 

2.  Write a program to