0

Please help me!

A supermarket has launched a campaign offering a 15% discount on 3 items. Write a program that takes the total price of each purchase as input and generates the relevant discount. Input example 15000 4000 6700 Output example 2250 600 1005 Explanation 2250 represents a 15% discount for a purchase of 15000, 600 for 4000 and 1005 for 6700 accordingly.

13th Jul 2021, 8:00 PM
Fransisco Estrada
3 Respuestas
+ 2
They will soon go bankrupt if your attempt does not see.
13th Jul 2021, 8:06 PM
JaScript
JaScript - avatar
+ 1
I am a beginner in the subject of programming and I have not been able to find the solution to this problem, I am stuck in this part https://code.sololearn.com/ciIdrGSH1g69/?ref=app
13th Jul 2021, 8:18 PM
Fransisco Estrada