+ 2
How to declare variables in the switch statement in c#?
How do you calculate in a switch statement if you have a question for calculating a number of children, the question can be {0} child - 5% , of monthly salary {1} child - 8% of monthly salary ,{2} child -10% of monthly salary and more than three children receives about 15% monthly salary? and monthly salary is about 10500 . which data type will it be ,is it an integer or a double?
1 Respuesta
+ 11
here's an example
https://code.sololearn.com/cW2JdM4Gk7dT/?ref=app