0
From code challenges
You and three friends go to a baseball game and you offer to go to the concession stand for everyone. They each order one thing, and you do as well. Nachos and Pizza both cost $6.00. A Cheeseburger meal costs $10. Water is $4.00 and Coke is $5.00. Tax is 7%. Task Determine the total cost of ordering four items from the concession stand. If one of your friend’s orders something that isn't on the menu, you will order a Coke for them instead. Plz help coz am stuck here foreal,🥺🥺
4 Antworten
+ 4
What are you having trouble with?
Imagine a "real case" = 4 friends with 4 orders.
1) Pizza
2) Water
3) Coke
4) Beer
We need $6 for the pizza, $4 for the water, $5 for the coke and then because beer isn't on the menu, we need another coke ($5).
6 + 4 + 5 + 5 = ?
Now we need to add 7% tax. How do we do that?
Write out on paper, pseudocode it and then code it.
+ 6
please, share your code. we are ready to help
+ 1
Well, thanks let me do. That right now
0
Bruh, i need explanations for that