Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int x,y;
  8.     cin>>x>>y;
  9.     if(x%y==0)
  10.         cout<<"numarul x este divizibil cu nr y ";
  11.     else
  12.         cout<<"numarul x NU este divizibil cu nr y";
  13.  
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement