Some Disney attractions have the following height limitation: visitors below 42 inches cannot ride.
Write a program that reads the number of Disney visitors on specific day. The program reads the height for each person and returns the number of people who can ride and the number of people who cannot ride.
Doctors recommend to walk at least 10,000 steps per day. Write a program that reads a number of steps each patient walked on specific day. Assume, that number of steps is a positive integer. First zero or negative integer will terminate the input. The program finds the average number of steps per patient and the number of people who followed recommendation and walked 10,000 steps or more.