/*define class name as cab
* to calculate cab charge by given condition
* kilometer charge
* first 5 km rs 70
* next 10 km rs 12/km
* next 10 km rs 10/km
* above 25 km rs 9/km
* input name of customer ,cab number and kilometer travel and charge
* display all along with charge
*/
Answers
Answer:
Price of 1kg or 1000 gm almonds = 1200
So price of 400 gm almonds will be
= \frac{1200}{1000} \times 400 = 480=10001200×400=480
Now on 480 rupees GST is 5% , that will be
= 480 \times \frac{5}{100} = 24=480×1005=24
So tatal price of almonds
= 480 + 24 = 504=480+24=504
/*define class name as cab
* to calculate cab charge by given condition
* kilometer charge
* first 5 km rs 70
* next 10 km rs 12/km
* next 10 km rs 10/km
* above 25 km rs 9/km
* input name of customer ,cab number and kilometer travel and charge
* display all along with charge
*//*define class name as cab
* to calculate cab charge by given condition
* kilometer charge
* first 5 km rs 70
* next 10 km rs 12/km
* next 10 km rs 10/km
* above 25 km rs 9/km
* input name of customer ,cab number and kilometer travel and charge
* display all along with charge
*//*define class name as cab
* to calculate cab charge by given condition
* kilometer charge
* first 5 km rs 70
* next 10 km rs 12/km
* next 10 km rs 10/km
* above 25 km rs 9/km
* input name of customer ,cab number and kilometer travel and charge
* display all along with charge
*/