1 / 3

Coporate Career

Coporate Career. Create a program that keeps track of employees in various companies and determines what rank they are in and what their pay is based on the company’s employment status.

oprah
Download Presentation

Coporate Career

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Coporate Career Create a program that keeps track of employees in various companies and determines what rank they are in and what their pay is based on the company’s employment status. CS204 Assignment: #2 Chapter3 Due Date: 10/07 Textbook, pages 645 - 650

  2. Problem Solving There are several steps this project requires, which need to be completed before project is in running stages. The goal of the project is to keep track of corporate careers of employees who, may change jobs, get promoted and demoted, and also loose a job and get paid at their present company. The employees can be with a company or unemployed they cannot be both at once. They are only allowed to work for one company at a time and start from rank 1 when they first start a new job with a new company. The list of companies will be read from a file and the file can have at most 20 companies listed. The employees all get paid $1000 times their rank in the company. The user will be given a menu and each option relates to an action that will be performed by the program. The output will be to the screen and the file.

  3. Behavior • Desired Behavior • The program should display the instructions on how to use the program on the screen. A menu will be presented to the audience. This menu will include several items that they can choose from. Each item will follow by an input prompt and the output will be presented to the screen. There are however some output that only will be available to view on the output file such as pay. When the user is finished they can end the program and the output file will be created. Depending on what menu item was selected proper prompts will follow and proper input from the user will be requested and processed. The menu will be the following: cout << "Q : QUIT." << endl; cout << "J : JOIN "<< endl; cout << "P : PROMOTE"<< endl; cout << "C : CHANGE"<< endl; cout << "D : DEMOTE"<< endl; cout << "M : PAYDAY"<< endl; cout << "E : EMPLOYEES"<< endl; cout << "U : UNEMPLOYED"<< endl; cout << "G : DUMP "<< endl; cout << "S : END "<< endl;

More Related