how to print out The program will accept the total purchase ($) from the user and prints out the total purchase, the discount ($ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to print out The program will accept the total purchase ($) from the user and prints out the total purchase, the discount ($

The program will accept the total purchase ($) from the user and prints out the total purchase, the discount ($) and price after discount ($).

24th Oct 2018, 4:10 AM
Ammar Rahman
Ammar Rahman - avatar
1 Answer
+ 1
Hint: * Read total purchase input * Subtract total purchase with discount to get discounted purchase. You will do the code implementation. If you run into trouble you can ask, having the code URL attached in original post.
24th Oct 2018, 6:16 AM
Ipang