Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int numero;
- void main() {
- printf("Digite o numero: ");
- scanf("%i", &numero);
- if (numero % 2 == 0){
- printf("O numero é par!");
- }
- else{
- printf(" O numero é impar!");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement