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
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
Comments
Leave a comment