Answered step by step
Verified Expert Solution
Question
1 Approved Answer
NO VECTORS. NO STRINGS. NO ARRAYS. Write a C++ Program to maintain information about pay raises for employees. NO VECTORS ALLOWED. PRIMITIVE FUNCTIONS ONLY LIKE
NO VECTORS. NO STRINGS. NO ARRAYS. Write a C++ Program to maintain information about pay raises for employees. NO VECTORS ALLOWED. PRIMITIVE FUNCTIONS ONLY LIKE CINCOUT, basic functions and parameter passing. NO VECTORS. NO STRINGS. NO ARRAYS.
Exam 1 Prog employee's da Assume that the following data is to be used: ram: You need a program to maintain information about pay raises for employees. Each ta include their name, their department, their current yearly income, and their raise percentage. Name James, Kobe Walton, Lebron Rondo, Luke Bryant, Kyle Kuzma, Rajon Department Accounting Marketing Sales Sales Marketing Current Yearly Income Raise Percentage $66111.54 $89224.17 $75123.25 65% 4.8% $69644.44 $96222.77 5.5% 39% Write a C++ program which uses appropriate functions and parameter passing that will perform the following tasks: Task 1: Allow the user to enter in the data for each employee. The user will not enter the $ or % symbols. Task 2: For each employee, calculate the Raise Amount and the New Pay Amount. Raise Amount Current Yearly Income * Raise Percentage/100 New Pay Amount = Current Yearly income-Raise Amount Task 3: For each employee, print out of their Name, Department, Current Yearly Income, Raise Percentage, Raise Amount, and New Pay Amount. of the new pay amounts for the five employees. Tas k 4: Calculate and print the total of the current yearly incomes, the total of the raise amounts, and the total k 5: Print the average of the Raise Amounts along with the largest and smallest Raise AmountsStep 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