+ 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
4 odpowiedzi
+ 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
+ 3
+ 3
Ipang
Got it... Thanks
+ 3
Md Ibrahim (West Bengal, India)
You are most welcome, Happy coding 👍