fork download
  1. #include<stdio.h>
  2.  
  3. int main(){
  4.  
  5. int numInserido;
  6.  
  7. scanf("%d", &numInserido);
  8.  
  9. if(numInserido % 5 == 0 && numInserido % 3 == 0 ){
  10.  
  11. printf("O NUMERO E DIVISIVEL\n");
  12.  
  13. } else {
  14.  
  15. printf("O NUMERO NAO E DIVISIVEL\n");
  16.  
  17. }
  18. }
Success #stdin #stdout 0s 9432KB
stdin
48
stdout
O NUMERO NAO E DIVISIVEL