PEASE SOLVE AS SOON AS POSSIBLE NEED IT VERY URGENTLY ---------------------------------------------------- Write a C++ program to get 'n' number of employee details from the user and store it in a map. The map consists of employee number as key and employee name as value Problem constraints: Display the employee details present in the map using the below formatand also get the size of the map(Use size,begin,end and iterator). printf("%-25s %s\n", "Employee number", "Employee Name"); Refer sample input and output for formatting specifications. [All text in bold corresponds to input and the rest corresponds to output] Sample Input and Output: Enter the number of employees to be inserted in database: 3 Enter the employee number: 12345 Enter the employee name: Shanmathi Enter the employee number: 32541 Enter the employee name: Thara Enter the employee number: 32154 Enter the employee name: Haveena Employees details in company database: Number of employees in company database: 3 Employee number Employee Name 12345 Shanmathi 32154 Haveena 32541 Thara
Problem constraints:
Display the employee details present in the map using the below formatand also get the size of the map(Use size,begin,end and iterator).
printf("%-25s %s\n", "Employee number", "Employee Name");
Refer sample input and output for formatting specifications.
[All text in bold corresponds to input and the rest corresponds to output]
Sample Input and Output:
Enter the number of employees to be inserted in
3
Enter the employee number:
12345
Enter the employee name:
Shanmathi
Enter the employee number:
32541
Enter the employee name:
Thara
Enter the employee number:
32154
Enter the employee name:
Haveena
Employees details in company database:
Number of employees in company database: 3
Employee number Employee Name
12345 Shanmathi
32154 Haveena
32541 Thara
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)