For a particular event 835 tickets were sold for a total of
     For a particular event, 835 tickets were sold for a total of $3343. If student paid $3 per ticket and nonstudents paid $5 per ticket, how many student tickets were sold?  Student tickets were sold. 
  
  Solution
Suppose total student = x
then, non-student = 835 - x
given that:
x*3 + 5*(835 - x) = 3343
3x + 5*835 - 5x = 3343
2x = 5*835 - 3343
x = (5*835 - 3343)/2 = 416 students

