A file contains a list of telephone number in following form.
Aman 23456
Raj 567854
….. ……….
Assume 10 such entries.
Name contains only one word and name and telephone number are separated by 5 white spaces.
i) Write a program to read the file and output the list in two columns. Name should be left justified and number should be right justified.
ii) Write a program that will create the data file containing the list of telephone number given in above form. Use a class object to store each set of data.
iii) Write a interactive menu driven program that will access the file created in first part and implement the following task.
a) Determine the telephone number of specific person.
b) Determine the name if a telephone number is known.
c) Update the telephone number when there is a change in telephone number.
use c++ only
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here