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 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
Get step-by-step solutions from verified subject matter experts
