write a program that allows the user to enter as many ages of students as needed, and finds the oldest among them. Your program should create two float variables for age -one for storing current max. age at a given time, and the other for the currently-entered age. Intialize the max. age to 0 years old. In a loop, the program should allow as many age inputs from the user as the user wishes and compare the currently-entered age with the value of max. age , until the user signals for end of input using a sentinel value of -1. The program should then output the oldest age among all the ages entered.
Try doing it yourself. If you have issues, try the reference on this site (http://www.cplusplus.com/reference/) or post a specific question in the forums, along with your source code, and people will be glad to help you.