The max age of people in the file

Report a typo

Copy the following block into the data.txt file on your computer and write a program to find the max age of people considering that age is written after comma in each line. The answer to the problem is the maximum age.

Isabella,8
Kate,50
Peter,6
Kate,77
Eva,76
Bob,67
Alice,73
Charlie,77
Eva,61
Ryan,30
Grace,26
Kate,34
Sophia,40
Henry,17
Jack,60
Charlie,59
Quinn,7
Henry,35
Eva,4
Jack,15
Mia,51
David,26
Alice,44
Tom,6
Noah,7
Quinn,55
Henry,68
David,52
Ryan,32
Mia,31
Tom,3
Mia,19
Liam,65
Sophia,38
Grace,76
Grace,44
Noah,4
Isabella,26
Frank,28
Olivia,33
Frank,58
Sophia,9
Peter,79
Tom,42
Charlie,19
Peter,49
Olivia,34
Olivia,58
Quinn,8
Noah,18
Bob,67
Frank,61
Jack,5
Bob,17
David,20
Isabella,16
Ryan,69
Liam,28
Alice,47
Liam,13
Enter a number
___

Create a free account to access the full topic