Read 2 integers and determine whether a person can enter the cinema.
Two integers on one line:
age: the age of the personmoney: whether the person has money
1 = yes0 = noPrint one of the following messages based on these rules:
money = 1:
Puedes entrarmoney = 0:
No tienes dineroEres muy jovenInput:
15 1
Output:
Puedes entrar
Input:
15 0
Output:
No tienes dinero
Input:
10 1
Output:
Eres muy joven