Created
November 28, 2018 21:24
-
-
Save ivanelson/856517182647852f601d68193cfee4ed to your computer and use it in GitHub Desktop.
3E5 - Divisível por 3 e 4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<math.h> | |
int main() | |
{ | |
int numero; | |
printf("Entre com um numero inteiro: "); | |
scanf("%d",&numero); | |
if (((numero % 3)==0) && ((numero % 5)==0)){ | |
printf("O NUMERO E DIVISIVEL POR 3 e 5\n"); | |
} | |
else{ | |
printf("O NUMERO NAO E DIVISIVEL\n"); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment