Guest User

Untitled

a guest
Feb 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main()
  4. {
  5. int idade;
  6. printf("Informe sua idade: ");
  7. scanf("%i", &idade);
  8. if (idade >= 18)
  9. printf("Idade maior de 18 anos!\n");
  10. printf("Idade: %i\n", idade);
  11. return 0;
  12. }
Add Comment
Please, Sign In to add comment