Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdio.h>
- using namespace std;
- int main()
- {
- int numX,numY;
- cout<<"Numero a dividir:\n ---->";
- scanf("%d",&numX);
- cout<<"Divisor:\n ---->";
- scanf("%d",&numY);
- if(numX % numY == 0){
- cout<<"Son Divisibles"<<endl;
- }else{
- cout<<"No Son Divisibles"<<endl;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment