Swift

Mini Project - Movie Ticket Vendor

A project that explores switch cases as used in the movie theater

Context

A ticket vendor is typically someone who’s at a theater and sells tickets. He/she usually lets you pick which movie, while also offering additional info about the movie to help you decide which one to watch. We would like to automate this process with programming.

Challenge...?

As part of this project, you will build a program that acts as an automated movie ticket vendor.

You will use a case statement to allow for multiple cases of different movies that the user can choose from to watch. Once the user’s movie has been picked (A variable ‘picked_movie’ will be declared at the beginning), you will tell him/her the cost, time, and rating, in a well-written print statement. Good Luck!

chevron_up