discount

CF

Variable Discount

The program must accept an integer P which represents the price of an item in a supermarket as the input. The program must print the…
CF

Choose items for highest discount

Chandru went for shopping and he was offered N number of items at various discount percentage rates.Out of these N items he wants to choose…
CF

Discount Slabs

A shop has given discounts based on the price of purchase. There are N slabs. When the price falls between two slabs that is ith slab amount…