Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

9:24 C++ Lab 4 - Maps and File Input/Output General Description: The program accepts names and telephone numbers from the user. It has the modify,

image text in transcribed
9:24 C++ Lab 4 - Maps and File Input/Output General Description: The program accepts names and telephone numbers from the user. It has the modify, deletion and display capabilities. It can also save the data in a text file. Sample Run. 1. At the start of the program the following is displayed: A to Add, E to Edit, D to Delete, P to Print, Ex to exit 2. If there is already data, the existing phone book, records will be initially displayed. Phone Book Name Phone Aman 343243 Gruela 33243 Jessic Rod 34343 Johnny 34343 Zanip 4345454 A to Add, E to Edit, D to Delete, P to Print, Ex to exit 3. If the user, enters A, the program will allow the entry of new records. A to Add, E to Edit, D to Delete, P to Print, Ex to exit Enter the name of the person Janno Gibson Enter the telephone number 4345434 Records updated. . . .. Phone Book Phone 343243 Gruela 33243 Janno Gibson 4345434 Jessic Rod 34343 Johnny 34343 Zanip 4345454 A to Add, E to Edit, D to Delete, P to Print, Ex to exit 4. There should be validation to ensure no double entry is allowed. 5. If the user, enters E, modification of telephone numbers will be processed. 343243 Gruela 33243 Janno Gibson 4345434 Jessic Rod 34343 Johnny 34343 Zanip 4345454 to Add, E to Edit, D to Delete, P to Print, Ex to exit E inter the name of the person Gruela nter the telephone number 5555555 lecords updated. . . . . Phone Book Phone 343243 Gruela 5555555 Janno Gibson 4345434 Jessic Rod Johnny 34343 Zanip 4345454 to Add, E to Edit, D to Delete, P to Print, Ex to exit 6. If the user, chooses D, deletion of data will be processed. to Add, E to Edit, D to Delete, P to Print, Ex to exit P There are 6record/s in your phone book Phone Book Name Phone Aman 343243 Gruela 5555555 courses.moodle.kpu.ca

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions