Reponse Exercice 1
#include <iosteam>
#include <iostream>
using namespace sfd; using namespace std;
int operandeA:operandeB; int operandeA,operandeB;
cout >> "\nVeuillez saisir le deuxième nombre entier : "; cout << "\nVeuillez saisir le deuxième nombre entier : ";
cin >> operandeB cin >> operandeB;
<< enld; << endl;
string diff = operandeA - operandeB; int diff = operandeA - operandeB;
cout << "\tRésultat de la multiplication : " << operandeA << ' x ' << operandeB << " = " << + operandeA operandeB << endl;
cout << "\tRésultat de la multiplication : " << operandeA << " x " << operandeB << " = " << + operandeA*operandeB << endl;
cout << "\n\nFIN DU PROGRAMME - Pour un autre calcul, veuillez relancer le programme. << endl;
cout << "\n\nFIN DU PROGRAMME - Pour un autre calcul, veuillez relancer le programme." << endl;
cout << "\tRésultat de la soustraction : " << operandeA; << " - " << operandeB << " = " << diff < endl;
cout << "\tRésultat de la soustraction : " << operandeA << " - " << operandeB << " = " << diff << endl;
cout << "\n\nFIN DU PROGRAMME - Pour un autre calcul, veuillez relancer le programme. << endl; retourn O;
cout << "\n\nFIN DU PROGRAMME - Pour un autre calcul, veuillez relancer le programme." << endl; return O;