First commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int a, b, c;
|
||||
cout << "Entrer deux entiers:\n";
|
||||
cin >> a >> b;
|
||||
cout << "Vous avez entré les valeurs " << a << " et " << b << endl;
|
||||
c = a + b;
|
||||
cout << "Leur somme est: " << c << endl;
|
||||
c = a * b;
|
||||
cout << "Leur produit est: " << c << endl;
|
||||
c = a / b;
|
||||
cout << "Le reste de " << a << "/" << b << " est : " << c;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user