daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top