1. Noor wants to order food using Talabat and she wants to know how much she has to pay. Write a program to solve the above problem using functions without parameters. Your program must have a...

Directly downvote Answer correctly asap else Directly Downvote
1. Noor wants to order food using Talabat and she wants to know how much she has to pay.<br>Write a program to solve the above problem using functions without parameters. Your<br>program must have a function to do the following.<br>In function,<br>Read three food item prices<br>Calculate the total price which is an total of three prices.<br>If total price is more than 5 Rials, Talabat will give 25% discount otherwise no<br>discount. Display the price to pay after discount.<br>Sample Output:<br>In function:<br>Enter Food Item 1 price: 4.5<br>Enter Food Item 2 price: 3<br>Enter Food Item 3 price: 0.900<br>Price to pay: 6.3<br>

Extracted text: 1. Noor wants to order food using Talabat and she wants to know how much she has to pay. Write a program to solve the above problem using functions without parameters. Your program must have a function to do the following. In function, Read three food item prices Calculate the total price which is an total of three prices. If total price is more than 5 Rials, Talabat will give 25% discount otherwise no discount. Display the price to pay after discount. Sample Output: In function: Enter Food Item 1 price: 4.5 Enter Food Item 2 price: 3 Enter Food Item 3 price: 0.900 Price to pay: 6.3

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here