Movie and Decision Table

You are going to write a javascript program to figure out the price of a movie ticket.  The rules are the following:  Adults pay $9,  Students $5, and Kids are free.   On Wednesday the tickets are half price.   If you have a coupon, the fee is reduces 1$.  For example, an adult on Wednesday with a coupon would be charged $3.50  (9 divided by 2  – 1 ).  On Thursday an adult with a coupon would be charged $8.  Your program will find the price of a ticket for all conditions. 

 One task is to finish a decision table.  We started this in class, and hopefully you took notes, but below is another start:

Round 1:

     Type of TIcket:   A  S  K

Round 2:

     Type of TIcket:    A  S  K  A  S  K
       Coupon?:          Y  Y  Y  N  N  N

Round 3:

       Type of Ticket:    A  S  K  A  S  K  A  S  K  A  S  K
         Coupon?:          Y  Y  Y  N  N  N  Y  Y  Y  N  N  N
        Wednesday?      Y  Y  (you finish)

         Result:            3.5 1.5  (you finish)