Donate SIGN UP

How To Write A Program In Below?

Avatar Image
Lensonmburu | 21:37 Wed 27th Mar 2019 | Quizzes & Puzzles
1 Answers
2. Write a program using switch to calculate wages for an employee that belongs to one of 2 different classes (categories). For class-1 employees, dues are KES100 plus 2% of the salary. For class-2 employees, dues are KES50 plus 1% of the salary. The default option should print an error message ‘Wrong Class’. Use of proper syntax is required.
Gravatar

Answers

Only 1 answerrss feed

Best Answer

No best answer has yet been selected by Lensonmburu. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
Why have you put this in Quizzes and Puzzles? Technology would have been a better category.

I've never heard of Switch as a programming language. What is KES?

Have you considered doing a flowchart and then coding it from that?

Only 1 answerrss feed

Do you know the answer?

How To Write A Program In Below?

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.