Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program 1:_ You need a program to maintain information about pay raises for employees. Each employee's data include their name, their department, their current yearly

image text in transcribed
Program 1:_ You need a program to maintain information about pay raises for employees. Each employee's data include their name, their department, their current yearly income, and their raise percentage. Assume that the following data is to be used: Name Raise Percentage 6.6% 4.8% James, Kobe Walton, Lebron Rondo, Luke Bryant, Kyle Kuzma, Rajon Department Accounting Marketing Sales Sales Marketing Current Yearly Income $66111.54 $89224.17 $75123.25 $69644.44 $96222.77 7.4% 5.5% 3.9% 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. Task 4: Calculate and print the total of the current yearly incomes, the total of the raise amounts, and the total of the new pay amounts for the five employees. Task 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

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

Students also viewed these Databases questions