Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main (){
- int idade;
- printf("Informe a sua idade\n");
- scanf("%i", idade);
- if (idade <=5)
- printf("-Bebe\n");
- else if (idade> 5 && idade <=10)
- printf("-Criança\n");
- else if (idade> 10 && idade <= 18)
- printf("-Adolescente\n");
- else if (idade> 18 && idade <=50)
- printf("Adulto\n");
- else
- printf("Idoso, vai morrer logo otario rsrsrs");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement