+ 3

How do you create an efficient source codes in c# on the following statement?

Let's say that a salary is around 16000 and you have to create a source code which computer calculates the ,following ,transport allowance = 5% of the salary ,housing allowance = 10% of the salary ,gross salary - this is the sum of the salary and all other allowance ,tax = 15% of the gross salary ,net salary - this is the gross salary less the tax and another thing is that a company also wishes to implement a bonus package of 10% of the salary and it's tax free for a monthly period of one year

22nd Apr 2017, 12:46 AM
Innocentia mia
Innocentia mia - avatar
2 Réponses
+ 11
@Innocentia it is better if you show us the code you have already so that we can help you. That way we'll be making the code together, and we learn from each other. You can post your code in the Code Playground. Tells us when you do.
22nd Apr 2017, 1:01 AM
Ulisses Cruz
Ulisses Cruz - avatar
+ 3
My payroll code still has few errors, but on my computer ,everything seems to be running fine except the amounts aren't appearing and in this phone, there's an error with no return value, I'm now confused. https://code.sololearn.com/cTMx0EhEf7Ew/?ref=app
22nd Apr 2017, 3:06 AM
Innocentia mia
Innocentia mia - avatar