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,🥺🥺

1st May 2024, 2:18 PM
Kaggwa Kevin
Kaggwa Kevin - avatar
4 odpowiedzi
+ 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.
1st May 2024, 3:44 PM
Ausgrindtube
Ausgrindtube - avatar
+ 6
please, share your code. we are ready to help
1st May 2024, 2:23 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 1
Well, thanks let me do. That right now
2nd May 2024, 8:44 AM
Kaggwa Kevin
Kaggwa Kevin - avatar
0
Bruh, i need explanations for that
1st May 2024, 2:30 PM
Kaggwa Kevin
Kaggwa Kevin - avatar