Question: Write the equivalent case structure from the following selection structure. if salaryCode=1 then output You earn less than R100000 else if salaryCode = 2

Write the equivalent case structure from the following selection structure. if salaryCode=1 then output "You earn less than R100000" else if salaryCode = 2 then output "You earn more than R100 000 but less than R250 000" else if salaryCode = 3 then else output "You earn more than R250 000 but less than R500 000" output "You earn more than R500 000" endif endif endif
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
