Files
CITISE1/IUT/Info1/TD/Exercices/4.3_debugage/4.3.sync-conflict-20250919-171145-QSQBSL2.cpp
2026-04-08 20:11:20 +02:00

16 lines
384 B
C++

#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;
}