Answer to Question #220706 in Algorithms for dinugijt1243

Question #220706

write a pseudocode and flowchart to input employee number, employee name, basic salary , allowance and deduction of the employee. find out net salary of employee . employee get a bonus salary which is 10 percent of net salary and 5 % of basic salary , company awards a festival advance which is price 10000 for this month festival advance included for the Gross salary but for the next month it is excluded. find out and output net salary , bonus salary , gross salary of the current month ans gross salary of the next month


1
Expert's answer
2021-07-27T07:43:22-0400
Pseudocode
Start
   Declare variable employeeNumber 
   Declare variable employeeName 
   Declare variable basicSalary 
   Declare variable allowance
   Declare variable deduction
   Read employeeNumber of the employee
   Read employeeName of the employee
   Read basicSalary of the employee
   Read allowance of the employee
   Read deduction of the employee
   netSalary = basicSalary+ allowance - deduction
   bonusSalary = netSalary * 0.1 +basicSalary*0.05
   grossSalaryCurrentMonth=netSalary+bonusSalary+10000
   grossSalaryNextMonth=netSalary+bonusSalary
   Display netSalary
   Display bonusSalary
   Display grossSalaryCurrentMonth
   Display grossSalaryNextMonth
Stop


Flowchart






Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS