Question: Repetition Structure - Sentinel Controlled Write programs using the for loop to produce the following outputs: 1. Write a program to calculate the salary of

 Repetition Structure - Sentinel Controlled Write programs using the for loop

Repetition Structure - Sentinel Controlled Write programs using the for loop to produce the following outputs: 1. Write a program to calculate the salary of a worker. The program will run until the user answers no to Continue. The program should produce the following output: (formula : salary = sales X 9% + 200) Enter sales in : RM 5000 Your salary is RM 650.00 Want to continue : Y Enter sales in : RM 7000 Your salary is RM 830.00 Want to continue : N Thank you for using the system

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 Databases Questions!