In C++
A shop(sells T-shirt @Rs100, Trousers @Rs200, Mask@Rs50, Shoes@500 per pair, KV Uniform @Rs500, Nail Paints @Rs20 per piece, School Bag @Rs500) will give discount of 10% if the cost of purchased quantity is more than Rs 1000. Prepair a bill by taking items purchased from user and check whether customer is eligible for discount. C++
no spam
Answers
Answered by
3
Let the number of white shirts be sold be x
Then number of green shirts sold =2x
Profit on each green shirt = Rs. 25
Profit on each white shirt = Rs. 20
∴ Total profit =2x×25+x×20=70x
Shopkeeper sells no more than 30 shirts. so
x≤30 and 2x≤30
so x≤15
Maximum profit =70×15= Rs. 1050
Answered by
1
Explanation:
Electric charge is the physical property of matter that causes it to experience a force when placed in an electromagnetic field. Electric charge can be positive or negative (commonly carried by protons and electrons respectively).
Similar questions