+ 1

Help me calculate the total plz...

I'm trying to calculate total amount with 10%service tax. https://code.sololearn.com/ccgXUs2NsPAK/?ref=app

29th Jan 2019, 3:51 AM
Md Ibrahim (West Bengal, India)
Md Ibrahim (West Bengal, India) - avatar
4 Réponses
+ 4
Md Ibrahim (West Bengal, India) In main, call calTotal method prior to displayTotal method, currently it displays the total before the calculation, as follows my friend : ) h.calTotal(); h.displayTotal(); Hth, cmiiw
29th Jan 2019, 4:04 AM
Ipang
+ 3
Ipang ,Paul , Satnam Singh plz help..
29th Jan 2019, 3:52 AM
Md Ibrahim (West Bengal, India)
Md Ibrahim (West Bengal, India) - avatar
+ 3
Ipang Got it... Thanks
29th Jan 2019, 4:06 AM
Md Ibrahim (West Bengal, India)
Md Ibrahim (West Bengal, India) - avatar
+ 3
Md Ibrahim (West Bengal, India) You are most welcome, Happy coding 👍
29th Jan 2019, 4:07 AM
Ipang