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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!