+ 1
Kinda new to this...can someone show me how to make a program for discount
Newbie
2 ответов
+ 3
Please follow this guide about how to post a question. At the moment your thread has too little information for anyone to respond, no language specific in tags, nor information on what that "discount" was about.
https://www.sololearn.com/Discuss/333866/?ref=app
https://code.sololearn.com/W3uiji9X28C1/?ref=app
+ 2
To calculate discount substract the discounted value from the original price.
e.g.
final price = price - (price * discount/100)
https://code.sololearn.com/c7s92uryaQ1V/?ref=app