SHARE
TWEET

Untitled

MeehoweCK Aug 19th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. unsigned nwd(unsigned a, unsigned b)
  6. {
  7.     // miejsce na Twój kod
  8. }
  9.  
  10. int main()
  11. {
  12.     cout << "Podaj dwie liczby naturalne: ";
  13.     unsigned a, b;
  14.     cin >> a >> b;
  15.     cout << "Najwiekszy wspolny dzielnik liczb " << a << " i " << b << " wynosi " << nwd(a, b) << endl;
  16.     return 0;
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top