Question: Q1. Analyze the following scenario and write a program as per your understanding using the best technique which you have studied. Use proper naming convention
Q1. Analyze the following scenario and write a program as per your understanding using the best technique which you have studied. Use proper naming convention and formatting while coding. (25 Marks)
A company wants to store their customer base for viewing and editing for later use. The customer information may include name, contact etc. You have to write a C++ program keeping in mind the following things.
Your program should keep on asking choices from users until 5 is pressed. You must use switch and while to display menu and call functions accordingly. You should consider at least 5 attributes about customer while declaring variables like name, contact etc.. Your program should be capable to store records for 1000 customers. User can input data of customers at runtime. User can search detailed records of any customer by entering customer name. User can give input to display all entered customer records. You program should have the functionality to display all customer records by customer name in ascending order.
You must declare separate functions for each of the functionality declared above. For simplicity you should test your code for 5 customers only but your final code should be able to handle 1000 customers. Your Menu you look like below snapshot.
Note:It is a C++ language programme 
Press 1 to input cutsomer data Press 2 to show cutsomer data Press 3 to sort and show cutsomer data Press 4 to search cutsomerdata by name Press 5 to exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
