Advertisement
PedalaVasile

Untitled

Dec 12th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include<iostream>
  2. #include<cstring>
  3. using namespace std;
  4. {
  5.     int cmmdc (int a,int b,int&r)
  6.     int main()
  7.    while(b!=0)
  8.    {
  9.        r=a%b;
  10.        a=b;
  11.        b=r;
  12.    }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement