fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. cout << "Hello world!" << endl;
  8. cout << "Koroncja Chrobrego" << endl;
  9. cout << "Koronacja odbyla sie 18 kwietnia 1025r" << endl;
  10. cout << "wypadlo to w wielkanoc" << endl;
  11. cout << " * " << endl;
  12. cout << " * * " << endl;
  13. cout << " * * * " << endl;
  14. cout << " * * * * " << endl;
  15. cout << " * * * * * " << endl;
  16. cout << " * * * * * * " << endl;
  17. cout << " * * * * * " << endl;
  18. cout << " * * * * " << endl;
  19. cout << " * * * " << endl;
  20. cout << " * * " << endl;
  21. cout << " * " << endl;
  22. int a,b, suma;
  23. cout << "podaj a" << endl;
  24. cin >> a;
  25. cout << "podaj b" << endl;
  26. cin >> b;
  27. cout << "podaj sume a i b " << "suma wynosi" <<a+b;
  28.  
  29.  
  30. return 0;
  31. }
  32.  
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
Hello world!
Koroncja Chrobrego
Koronacja odbyla sie 18 kwietnia 1025r
wypadlo to w wielkanoc
        *        
       * *       
      * * *      
     * * * *     
    * * * * *    
   * * * * * *   
    * * * * *    
     * * * *     
      * * *      
       * *       
        *        
podaj a
podaj b
podaj sume a i b suma wynosi1350832062