Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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 Amounts

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions

Question

How can you defend against SQL injection attacks?

Answered: 1 week ago

Question

Question Can plan participants borrow from a VEBA?

Answered: 1 week ago

Question

Question What is an educational benefit trust and how is it used?

Answered: 1 week ago

Question

Question How are VEBA assets allocated when a plan terminates?

Answered: 1 week ago