Ask questions and get helpful responses.


1.Do the planning and write an algorithm to solve the following problem. Prepare test data for the example to test all possibilities and draw a trace table.

Sam works at a coffee company where all the employees receive a bonus of R700, except the employees in the coffee department 3, who receive a bonus of R850. Enter his gross salary and his personal department number. Calculate the total income of Sam. Subtract 25% of the gross income for tax. Determine and display Sam’s net income on the screen

  1. 👍
  2. 👎
  3. 👁
  4. ℹ️
  5. 🚩

Respond to this Question

First Name

Your Response

Still need help? You can ask a new question.