Write your question here.
Given a filele name I'm want to know how to write a program that reads the file and displays the
demographic data. Peter.txt gives an example file structure.
Example output is given below:
Enter file name: Peter.txt
Name: Peter
Age: 10
Gender: Male
Nationality: UK
Missing files and unrealistic ages should result in descriptive error messages.