Question: in c++ language please 20 points Problem 3 Write a program that manages computer stations in computer labs. The following is a list of all

 in c++ language please 20 points Problem 3 Write a program that manages computer stations in computer labs. The following is a listof all computer labs and the available stations in each lab Computer

in c++ language please

20 points Problem 3 Write a program that manages computer stations in computer labs. The following is a list of all computer labs and the available stations in each lab Computer Stations Lab 1: PC 1, PC2, PC3 Lab 2: PC 1, PC2, PC3, PC4, PC5 Lab 3: PC 1, PC2, PC3, PC4 Lab 4: PC 1, PC2, PC3, PC4, PC5, PC6, PC7 Lab 5: PC 1, PC2, PC3, PC4 The program must have a menu with three main options:1 to log on to a computer, 2. to log off from a computer, and 3. to view an overview off all computer stations. The fourth option is to enter1 to end the program. The "log on" option prompts the user to enter their ID and then marks the computer as occupied with the ID. The "log off" option prompts the user to enter their 5-digit ID and then marks the computer as occupied with the ID. The overview shows all available computer stations and for those that are occupied, it shows the ID Hints .Use int" labStationsfLAB COUNT; The static array of type int represents the five labs. Each intelement represents a dynamically allocated array of type int which represents the computer stations for that lab. Initialize each element in the dynamic array to -1 When a user logs on, store the ID at the index of the computer stations. Set it back to -1 when the user logs out. Use a separate array to store the number of total computer stations for each lab

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!