First commit
This commit is contained in:
18
IUT/Info1/TD/Exercices/9.1_PGCD/main.cpp
Normal file
18
IUT/Info1/TD/Exercices/9.1_PGCD/main.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user