Advertisement
teofarov13

Untitled

Feb 22nd, 2021
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function cinemaTicket(input){
  2. let day=input[0]
  3.     switch(day){
  4.         case "Monday":
  5.             case "Tuesday":
  6.                 case "Friday":
  7.                     console.log("12");
  8.                     break;
  9.                     case "Wednesday":
  10.                         case "Thursday":
  11.                             console.log("14");
  12.                             break;
  13.                             case "Saturday":
  14.                                 case "Sunday":
  15.                                     console.log("16")
  16.                                     break;
  17.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement