can you please help me with this code in C++... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

can you please help me with this code in C++...

A file contains a list of telephone number in following form.(10 Marks)        Aman         23456        Raj           567854        …..          ………. Assume 10 such entries.   Name contains only one word and name and telephone number are separated by 5 white spaces.  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.

12th Apr 2021, 7:02 AM
SOUMYA SRIVASTAVA
SOUMYA SRIVASTAVA - avatar
2 Answers
+ 1
omg thanku so much...
12th Apr 2021, 7:04 PM
SOUMYA SRIVASTAVA
SOUMYA SRIVASTAVA - avatar
0
well I was kind of having problem thinking how to approach this program...I wud be grateful if you could explain it..thnku
12th Apr 2021, 7:10 AM
SOUMYA SRIVASTAVA
SOUMYA SRIVASTAVA - avatar