Assumed that KUST has 10 employees of grade 14, 17, 18 and 19. Write a program to store employees scale and their current salaries, in year 2020. KUST is planning to provide an increment of 5% to grade 18 and 19, and 10% to grade 14, and 17. The program should calculate and record the employees salary after the proposed increments and the difference in individual salaries. The program shall execute as follows: Step 1: Please enter employee 1 Salary: 22,000 Please enter employee 1 Scale: 14 …….. Please enter employee 2 Salary: 59,000 Please enter employee 2 Scale: 17 … … Please enter employee 10 Salary: 100,000 Please enter employee 10 Scale: 19   Step 4 PART The total difference in slaries is: 123/-

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

C++ language

Assumed that KUST has 10 employees of grade 14, 17, 18 and 19. Write a program to store
employees scale and their current salaries, in year 2020. KUST is planning to provide an
increment of 5% to grade 18 and 19, and 10% to grade 14, and 17. The program should
calculate and record the employees salary after the proposed increments and the difference in
individual salaries.
The program shall execute as follows:

Step 1:
Please enter employee 1 Salary: 22,000
Please enter employee 1 Scale: 14
……..
Please enter employee 2 Salary: 59,000
Please enter employee 2 Scale: 17


Please enter employee 10 Salary: 100,000
Please enter employee 10 Scale: 19

 

Step 4 PART

The total difference in slaries is: 123/-

The Employees updated record is shown below:
Employee
1
Salary
22000
Scale
14
2
59000
17
4
7
8
9.
10
100000
19
Step 3:
The proposed increment amount, and salary after increment is given below:
Salary (after
increment)
Employee
Salary
Scale
Increment
1
22000
14
2200
24200
59000
17
5900
64900
3
4
6.
7
9.
10
100000
19
5000
105000
Step 4:
The total salaries in year 2020: 123/- (calculate by adding the old salaries of all employees)
The total salaries in year 2021: 123/- (calculate by adding the new salaries of all employees)
Transcribed Image Text:The Employees updated record is shown below: Employee 1 Salary 22000 Scale 14 2 59000 17 4 7 8 9. 10 100000 19 Step 3: The proposed increment amount, and salary after increment is given below: Salary (after increment) Employee Salary Scale Increment 1 22000 14 2200 24200 59000 17 5900 64900 3 4 6. 7 9. 10 100000 19 5000 105000 Step 4: The total salaries in year 2020: 123/- (calculate by adding the old salaries of all employees) The total salaries in year 2021: 123/- (calculate by adding the new salaries of all employees)
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY