Can't figure out math | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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?

22nd Oct 2020, 9:22 PM
SlenderWolf
SlenderWolf - avatar
6 Answers
- 2
Amount = numberOfPpl * priceTicket * priceDrink * pricePopCorn
22nd Oct 2020, 9:50 PM
Arturop
Arturop - avatar
+ 7
SlenderWolf this sounds like a code coach solutions question. Please show us your attempt... The code is not that hard:
22nd Oct 2020, 10:46 PM
BroFar
BroFar - avatar
+ 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
22nd Oct 2020, 10:10 PM
Abhay
Abhay - avatar
29th Oct 2020, 6:00 AM
BroFar
BroFar - avatar
+ 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.
28th Oct 2020, 9:49 PM
SlenderWolf
SlenderWolf - avatar
+ 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
29th Oct 2020, 5:11 AM
Ore
Ore - avatar