Program that display payed bills and discount when a customer buy above than 10000 it gives 15 %and if lesser its gives 5% | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

Program that display payed bills and discount when a customer buy above than 10000 it gives 15 %and if lesser its gives 5%

help me fast plz

6th Nov 2017, 4:09 PM
ALI RAZA
ALI RAZA - avatar
8 Answers
+ 5
Use an if() to apply discounts, based on the condition where the final amount to be paid is greater than 10000. For printing as a bill, you may use setw().
6th Nov 2017, 4:15 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
0
Its easier try to begin
6th Nov 2017, 4:13 PM
Daniel
Daniel - avatar
0
C++ lessons in Sololearn course.
6th Nov 2017, 4:14 PM
Daniel
Daniel - avatar
- 3
but how
6th Nov 2017, 4:14 PM
ALI RAZA
ALI RAZA - avatar
- 3
send the program if u have by if statement
6th Nov 2017, 4:14 PM
ALI RAZA
ALI RAZA - avatar
- 4
pl dir
6th Nov 2017, 4:15 PM
ALI RAZA
ALI RAZA - avatar
- 4
program koi send krdo important hai abhi
6th Nov 2017, 4:19 PM
ALI RAZA
ALI RAZA - avatar
- 4
send program important right know
6th Nov 2017, 4:19 PM
ALI RAZA
ALI RAZA - avatar