Write a function "cashier" that receives an int "c" for the number of items bought. The function will ask the price and task rate of each item and prints out the total cost. Sample Input Expected Output For item 1 Enter the price: 10 Enter the tax rate: 0 For item 2 Enter the price: 20 Enter the tax rate: 8 Your total price is 31.6 Sample Input 2 Expected Output 2 For item 1 Enter the price: 100 CS103 - Lab 5 Page 3 of S Enter the tax rate:8 For item 2 Enter the price: 20 Enter the tax rate: 0 For item 3 Enter the price1 40 Enter the tax rate:8 Your total price is 171.2 3406
+3
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a function "cashier" that receives an int "c" for the number of items bought. The function will ask the price and task rate of each ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » Write a function "cashier" that receives an int "c" for the number of items bought. The function will ask the price and task rate of each item and prints out the total cost.