...

/

Solution: Movie Night

Solution: Movie Night

We'll cover the following...

This program checks a user’s age and decides whether they’re old enough to watch a movie.

C++
age = int(input("How old are you? "))
if age >= 13:
print("Enjoy the movie!")
else:
print("Sorry, you're too young.")
    ...