Read Chapter 5. Project 4 due. Exercises Write a program to calculate the average of three numbers entered by the user. Write a program to calculate the age of a person in years and months by using DOB and today's date both entered as two integers - month and year. Write a program to calculate the average of N random numbers, where N is entered by the user.
Exercises Write a program to calculate the average of three numbers entered by the user.
Write a program to calculate the age of a person in years and months by using DOB and today's date both entered as two integers - month and year. See an applet implementation of Euclid here . Exercises Write a program that generates a random number and then asks the user to guess this number. The program reads the user input in a loop and prints whether the number entered is greater or less than the generated random number until the user guesses the number. Implement the version of the Euclid's algorithm based on subtraction.