Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include <windows.h>
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. cout << "Taper consecutivement les valeurs a puis b puis c pour compléter l'opération " << endl;
  10. double a (0), b (0), c (0);
  11. cin >> a;
  12. cin >> b;
  13. cin >> c;
  14. double const resultat(a * b + c);
  15. cout << " a * b + c = " << resultat;
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement