Can't figure out math | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
- 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 - avatar
6 ответов
- 2
Amount = numberOfPpl * priceTicket * priceDrink * pricePopCorn
22nd Oct 2020, 9:50 PM
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 - avatar
+ 4
Please use Q&A for programming related questions only , And make use of relevant tags like language name Here are some guidelines
22nd Oct 2020, 10:10 PM
Abhay - avatar
29th Oct 2020, 6:00 AM
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 - 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 - avatar