A File contains a list of names and telephone numbers in the following form:
AJIT 281050
ANIL 462890
HRISHIKESH 524358
----
----
The names contains only one word and the telephone numbers are separated by white spaces.
Write an interactive program to:
- Create the above file.
- Display the contents in two columns.
- Search a telephone number for a given name.
- Exit the program.
Have something to say? Log in to comment on this post.
0 comments