- 3
Can't figure out math
Each person buys a ticket, a large drink, and a small popcorn. Write an expression in simplest form that represents the amount of money the group spends. can someone please help me out with this question?
6 Answers
- 2
Amount = numberOfPpl * priceTicket * priceDrink * pricePopCorn
+ 7
SlenderWolf this sounds like a code coach solutions question. Please show us your attempt... The code is not that hard:
+ 4
Please use Q&A for programming related questions only ,
And make use of relevant tags like language name
Here are some guidelines
https://www.sololearn.com/Discuss/1316935/?ref=app
+ 2
SlenderWolf guess this is what you need https://code.sololearn.com/cH2coHI1IhKn/?ref=app
+ 1
I am so sorry I didn't see these until just now because I didn't get notifications and have been doing 7th-grade math cause I'm in 7th grade and apparently I'm doing high school leveled math problems so I apologize for that.
+ 1
n = number of people in the group
t = price of a ticket
d = price of a drink
p = price of a popcorn
amount = n * (t + d + p)
= nt + nd + np