i have to write a code that gives total cost of movie tickets
and here is what i did..and i dont get what to do..it just don't work..keep giving wrong answer..could somebody please solve this...