I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Menu
A matter of age

You have been given a text file containing the following data –

bert,32
sally,13
mary,21
bill,25

You must save this data into a text file (with a file name of your choice).

Your job is to read in this text file, order it by age (the number) and then output it back to the file in the correct order.


You need to log in or create an account to submit code!

Leave a Reply

Your email address will not be published. Required fields are marked *

Information