If I sale fifty tickets and kids tickets are three dollars and adults tickets are five dollars I got 180 dollars in total how many tickets both adults and kids have in all if I sold fifty tickets

Sold X kids tickets.

Sold (50-X) Adult tickets.

3x + 5(50-X) = $160.
3x + 250-5x = 160
-2x = 160-250 = -90
X = 45 kids Tickets.
50-x = 50-45 = 5 Adult Tickets.

Correction: Total monies should be $180.

Not 160. Recalculate.

To find out the number of kids and adult tickets sold, we can use a system of equations.

Let's say the number of kids tickets sold is represented by 'k' and the number of adult tickets sold is represented by 'a'.

Given that you sold a total of 50 tickets, we can write the equation:
k + a = 50 (Equation 1)

Also, given that kids tickets are $3 each and adult tickets are $5 each, and you earned a total of $180, we can write the equation:
3k + 5a = 180 (Equation 2)

To solve this system of equations, we can use a method called substitution or elimination.

Option 1: Substitution Method
1. Express 'k' from Equation 1:
k = 50 - a

2. Substitute the value of 'k' in Equation 2:
3(50 - a) + 5a = 180

Simplify the equation:
150 - 3a + 5a = 180

Combine like terms:
2a = 30

Divide both sides by 2:
a = 15

3. Substitute the value of 'a' back into Equation 1 to find 'k':
k + 15 = 50

Solve for 'k':
k = 35

Therefore, you sold 15 adult tickets and 35 kids tickets in total.

Option 2: Elimination Method
1. Multiply Equation 1 by 3:
3(k + a) = 3(50)
3k + 3a = 150 (Equation 3)

2. Subtract Equation 3 from Equation 2 to eliminate 'k':
(3k + 5a) - (3k + 3a) = 180 - 150

Simplify the equation:
5a - 3a = 30

Combine like terms:
2a = 30

Divide both sides by 2:
a = 15

3. Substitute the value of 'a' back into Equation 1 to find 'k':
k + 15 = 50

Solve for 'k':
k = 35

Therefore, you sold 15 adult tickets and 35 kids tickets in total.