fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int liczba1, liczba2;
  6. cout<<"program sumuje 2 liczby. \n";
  7. cout<<"podaj pierwsz liczbe: "<<endl;
  8. cin>>liczba1;
  9. cout<<"podaj druga liczbe: "<<endl;
  10. cin>>liczba2;
  11. cout<<"suma liczb "<<liczba1 + liczba2<<endl;
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
program sumuje 2 liczby. 
podaj pierwsz liczbe:   
podaj druga liczbe:   
suma liczb   2111260781