fork download
  1. #include <iostream>
  2. using namespace std;
  3. #include<cmath>
  4.  
  5. int main() {
  6. int liczba1=36;
  7. int liczba2=49;
  8. cout<<"pierwiastki"<<endl;
  9. cout<<"pierwiastek z 36 to "<<sqrt(liczba1)<<endl;
  10. cout<<"pierwiastek z 49 to"<<sqrt(liczba2)<<endl;
  11. cout<<"\nsuma"<<endl;
  12. cout<<"suma liczb 36 I 49 TO"<< 36+49 <<endl;
  13. return 0;}
  14.  
  15.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
pierwiastki
pierwiastek z 36 to 6
pierwiastek z 49 to7

suma
suma liczb 36 I 49 TO85