18 lines
275 B
C++
18 lines
275 B
C++
#include <iostream>
|
|
|
|
#include "fonction.h"
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
unsigned int a, b, plusGrandDiviseur;
|
|
|
|
cout << "Saisir a et b" << endl;
|
|
cin >> a >> b;
|
|
|
|
plusGrandDiviseur = pgcd(a, b);
|
|
|
|
cout << plusGrandDiviseur << endl;
|
|
|
|
return 0;
|
|
} |