Tariqul_Islam

1114 fixed password

Aug 1st, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int n;
  5.     while((scanf("%d",&n))!=EOF)
  6.     {
  7.         if(n==2002)
  8.         {
  9.             printf("Acesso Permitido\n");
  10.             break;
  11.         }
  12.         else
  13.         {
  14.             printf("Senha Invalida\n");
  15.         }
  16.     }
  17.     return 0;
  18. }
Add Comment
Please, Sign In to add comment