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...


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



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here