Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int x,y;
- cin>>x>>y;
- if(x%y==0)
- cout<<"numarul x este divizibil cu nr y ";
- else
- cout<<"numarul x NU este divizibil cu nr y";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement