The human resources manager wants to produce a personnel report that shows the e
ID: 3636556 • Letter: T
Question
The human resources manager wants to produce a personnel report that shows the end result if she gives everyone a 10 percent raise in salary. The output consists of a printed report titled Projected Raises. Fields printed on output are: last name of employee, first name of employee and current weekly salary. Include appropriate column headings and footer. Design the report, then draw a flowchart or write pseudocode for a program that accepts the input fields continuously and produces the report.Please submit in pseudocode format - not flowchart format. Make sure you have all the required sections of pseudocode: housekeeping, main loop, end-of-job tasks, etc. I will be grading on whether the three parts are present and whether you have demonstrated the logic involved in this process.
Explanation / Answer
The Design can be something like this
***************************** Projected Raises***********************
EMPLID Last Name First Name Weekly Salary($)
34343 XYZABE ABECEGEE 800
343343 UJUDE EEFEGEE 500
Psecudo Code:
1) Start The program
2) Print "Enter Number of Employees"
3) Store the Value in a variable " N"
Open and FIle and print " ****EMPLID Last Name First Name Weekly Salary($) """"""
4) For i = 1 to n
4.1) Print "ENter Emplid and % salary Raise "
4.2) Accept the values in variables "E" and "INC_SAL"
4.3) Fetch the Salary of the employee and store into "SAL" variable.
4.5) SAL=SAL + INC_SAL*SAL.
4.6) Fetch the LAST_NAME and FIRS_NAME using EMPLID
4.7) Print the data into an text file or any other file format.
5) END-Loop
As per understanding of the problem prepared the solutuion.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.