There were 18 single rooms and 6 suites booked.
Step-by-step explanation:
Given,
Cost of one single room = $90
Cost of one suite = $150
Total rooms booked = 24
Total amount earned = $2520
Let,
Number of single rooms = x
Number of suite = y
According to given statement;
x+y=24 Eqn 1
90x+150y=2520 Eqn 2
Multiplying Eqn 1 by 90
[tex]90(x+y=24)\\90x+90y=2160\ \ \ Eqn\ 3[/tex]
Subtracting Eqn 3 from Eqn 2
[tex](90x+150y)-(90x+90y)=2520-2160\\90x+150y-90x-90y=360\\60y=360[/tex]
Dividing both sides by 60
[tex]\frac{60y}{60}=\frac{360}{60}\\y=6[/tex]
Putting y=6 in Eqn 1
[tex]x+6=24\\x=24-6\\x=18[/tex]
There were 18 single rooms and 6 suites booked.
Keywords: linear equation, variable
Learn more about variables at:
#LearnwithBrainly