fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int a;
  7. int p;
  8. cout << " Pole kwadratu ";
  9. cin >> a ;
  10. p= a*a;
  11. cout << " o boku " << a <<" wynosi "<< p;
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5288KB
stdin
17
stdout
 Pole kwadratu  o boku 17 wynosi 289