Guest User

Untitled

a guest
Jul 11th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <stdio.h>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     int numX,numY;
  9.     cout<<"Numero a dividir:\n ---->";
  10.     scanf("%d",&numX);
  11.     cout<<"Divisor:\n ---->";
  12.     scanf("%d",&numY);
  13.  
  14.     if(numX % numY == 0){
  15.         cout<<"Son Divisibles"<<endl;
  16.     }else{
  17.         cout<<"No Son Divisibles"<<endl;
  18.     }
  19.  
  20.     return 0;
  21. }
Add Comment
Please, Sign In to add comment