URI Online Judge | 1114
Fixed Password
Write a program that keep reading a password until it is valid. For each wrong password read, write the message "Senha inválida". When the password is typed correctly print the message "Acesso Permitido" and finished the program. The correct password is the number 2002.
Input
The input file contains several tests cases. Each test case contains only an integer number.
Output
For each number read print a message corresponding to the description of the problem.
| Input Sample | Output Sample |
| 2200 1020 2022 2002 | Senha Invalida Senha Invalida Senha Invalida Acesso Permitido |
[WAIT]
First of all, think yourself that you have tried enough for the problem. If you did not please read the program once. REMEMBER one thing, just believe in yourself.....YOU CAN.....YOU KNOW....
No comments:
Post a Comment