Computer Science, asked by kshitih, 1 year ago

ek question...



WAP in java to find the gross a
salary of an employee for the following allowances and deduction...
1.)DA- 25%basic pay
2.)house rent allowance-15%basic paid
3.)prominent fund-8.33%basic paid
4.)net paid-basic+DA+house rent allowance
5.gross paid-net paid-provident fund.




by using nested if andwitout using logical operators...... and without using the function arguments or java .util or by buffered reader of stream reader.........it should be simple ...as it is for the beginners .






plz help


Aquib7089: bina nested if ke kar sakta hun
kshitih: YA SURE
kshitih: BUT IF U SOLVE IT BY NESTED IF THAT WILL BE GREAT FOR ME

Answers

Answered by Aquib7089
1
\bold{Hey \: mate \: here \: is \:your \: ANSWER}

\large{\red{\boxed{\mathbb{HOPE \:IT \:HELPS}}}}

<marquee>PLEASE MARK AS BRAINLIEST
Attachments:

kshitih: can u please solve it in easiest way.....as it is just for the beginers............without using scanner.........function arguments.....java package......................in a quite simple way.....???????????????????????????????
Aquib7089: this is simplest method available for this program
Aquib7089: without scanner class paclage it will not run
Aquib7089: are you in class 9
kshitih: nope i am in class 8
kshitih: it can work on without scanner class package....................
Aquib7089: nope
Aquib7089: then for that you have to provide value of basic pay
kshitih: its already mentioned
Similar questions