fork(1) download
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main() {
  6. double value;
  7. cin >> value;
  8. double hundredth = 0.01;
  9. cout << fixed << setprecision(15) << (value / hundredth) << endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 3232KB
stdin
0.29
stdout
28.999999999999996