An Introduction to Programming hourly wage. However, some employees are paid wee
ID: 3743315 • Letter: A
Question
An Introduction to Programming hourly wage. However, some employees are paid weekly, while others areer than other week (biweekly). Employees paid weekly receive 52 paychecks; employees every 9. All employees at Kranston Sports Inc. are paid based on an annual salary rathe INCE biweekly receive 26 paychecks. The algorithm shown in Figure 1-15 should calca of the instructions are display the gross pay for each employee; however, some missing from the algorithm. Complete the algorithm. nisiag han the algorith oC bowever some of the instructions repeat (for each employee) enter tihe employe's payment schedule and annual salary if (the employee's payment sohedule is weekly) calculate gross pay = caloulate gross pay Figure 1-15Explanation / Answer
Answer :
Calculate gross pay = 52 * 52 // 52 paychecks * 52 weekas there are 52 seema in a year
If(the employee's payment schedule is biweekly)
Calculate gross pay = 26 * 26 // 26 pachecks * (26*2=52) weeks
Else
Calculate cross salary = yearly basis salary
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.