fork download
  1. #include<iostream>
  2. using namespace std;
  3. #include<cmath>
  4. int main(){
  5. int liczba1=36;
  6. int liczba2=49;
  7. cout<<"PIERWIASTKI"<<endl;
  8. cout<<"pierwiastek z 36 to "<<sqrt(liczba1)<<endl;
  9. cout<<"pierwiastek z 49 to "<<sqrt(liczba2)<<endl;
  10. cout<<"\nSUMA"<<endl;
  11. cout<<"suma liczb 36 i 49 to "<<36+49<< endl;
  12.  
  13.  
  14.  
  15. return 0;}
Success #stdin #stdout 0s 5284KB
stdin
4
5 7 1
3 4 2
4 4 6
2 5 3
stdout
PIERWIASTKI
pierwiastek z 36 to 6
pierwiastek z 49 to 7

SUMA
suma liczb 36 i 49 to 85