TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
shane howard
NA
2
569
How do I make a program that tells the oldest one of the names?
Aug 31 2022 7:35 AM
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
Reply
Answers (
1
)
What does thread pooling mean?
Changing Windows Registry not working