josiftepe

Untitled

Jan 13th, 2021
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1.     #include <iostream>
  2.     using namespace std;
  3.  
  4.     int main()
  5.     {
  6.         int x;
  7.         int y;
  8.         cin >> x;
  9.         cin >> y;
  10.         int ostatok = x % y;
  11.         cout << ostatok << endl;
  12.         return 0;
  13.     }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment