Answered step by step
Verified Expert Solution
Question
1 Approved Answer
GRADING RUBRIC Program is worth 100 points - Indent code and insert comments to the C++ code document. [10 pts] - Program must be implemented
GRADING RUBRIC Program is worth 100 points - Indent code and insert comments to the C++ code document. [10 pts] - Program must be implemented and run as instructed to receive full credit. [80 pts] Program that does not compile and run will not receive any credit. - Submit the C++ programs to Blackboard correctly. [10 pts] A company has 4 buildings located in the United States. Each building has a code and a location: The company has both full-time and part-time workers, and are due for a raise in salary. Their salary increases will be based on their current salary and employment status. All full-time employees will receive 3% salary increase and part-time employees will receive $500 increase. - Create a C++ program "YourLastname_Lab2" that asks for the last name of the employee, building letter where they are located, employee's current salary, and employment status (full-time or part-time). - Determine the building location based on the building code entered. - Calculate the employee's new salary based on the current salary and employment status. - Display the employee's name, building code and location, employment status (full-time or part-time), current salary, and new salary. - Assume user alwa'ss enters upper case letter for the building code. - If an incorrect building code is entered, display 'Building code error'. - Program does not have to repeatedly process the input data. - Compress your completed program files into a zip file "YourLastname_Lab2.zip" by either of the following ways: - Only source code file (.cRR, ) and executable file (.exe), OR - The whole project folder Sample input / output for full-time employee: EG Microsoft Visual Studio Debug Console Enter last name: Jones Enter the building letter: N Enter current salary: 50600 Enter employee status (enter 1 for full-time, 2 for part-time): 1 Employee Last Name: Jones Building Code: N Building Location: Wake, North Carolina Employment Status: Full-time Current Salary: $50000.00 New Salary: $51500.00 Sample input / output for part-time employee: Ea Microsoft Visual Studio Debug Console Enter last name: Smith Enter the building letter: T Enter current salary: 26000 Enter employee status (enter 1 for full-time, 2 for part-time): 2 Employee Last Name: Smith Building Code: T Building Location: Austin, Texas Employment Status: Part-time Current Salary: $20000.60 Vew Salary: $20500.00 Sample input / output for incorrect building code: SUBMISSION Submit the following zip files through the lab2 assignment link at Black Board for credits. - "YourLastname_Lab2.zip
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started