By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,972 Members | 1,454 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,972 IT Pros & Developers. It's quick & easy.

salary deduction using switch case

P: 1
the problem is the salary is 30000,if no child the salary will be deducted 10%,if 1-2 child the salary will be deducted 8%,if 3,4,and 5 the salary will be deducted 5%.and if greater than 5 no deduction and if no child will be deducted 5% tax.give me a source code using switch case
Oct 28 '19 #1
Share this Question
Share on Google+
1 Reply


100+
P: 142
Welcome to Bytes! Assignment questions are not supported here. Please have a look at the posting guidelines and mention what you've done so far for this. I'd be happy to help then.
https://bytes.com/faq.php?faq=postin...ask_a_question
Oct 28 '19 #2

Post your reply

Sign in to post your reply or Sign up for a free account.