- Write a program that reads names and ages from the user until an empty line is entered. The name and age are separed by a comma.
- After reading the program prints the age of the oldest person.
- You can assume that the user enters at least one person and that one of the users is older than the others.
Example:
> sebastian,2
> lucas,2
> lily,1
> hanna,5
> gabriel,10
>
Age of the oldest: 10
Rajanikant HawaldarPosted Aug 31, 2022, 8:06 AM
Looks like it is a homework, you have to do it, if you truck somewhere post here someone will help you, what you have tried so far?