fork download
  1. #include <iostream>
  2. #include <cmath>
  3. #include <iomanip>
  4.  
  5. using namespace std;
  6.  
  7. int main() {
  8. // your code goes here
  9.  
  10. std::cout << "sqrt(100) = " << std::fixed << std::setprecision(5) << sqrt(100) << '\n';
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 5444KB
stdin
Standard input is empty
stdout
sqrt(100) = 10.00000