daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. using namespace std;
  6.  
  7. int a;
  8. int b;
  9.  
  10. cout << "Program pro vypocitani obsahu obdelniku" << endl;
  11. cout << "Zadejte delku strany a" << endl;
  12. cin >> a;
  13. cout << "Zadejte delku strany b" << endl;
  14. cin >> b;
  15. cout << "Obsah obdelniku je " << 2*(a+b) << endl;
  16.  
  17. system("pause"); // zamrznuti cmd
  18. return 0;
  19. }
RAW Paste Data
Top