fork(1) download
  1. #include <iostream>
  2. #include <math.h>
  3. #include <stdlib.h>
  4. #include <cmath>
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. system(" COLOR FC");
  10. float circumference_of_circle_radius,radius ;
  11. cout << " Insert the radius of the circle: \n";
  12. cin >> radius ;
  13. circumference_of_circle_radius = 2*(22/7)*radius;
  14. cout << fixed ;
  15. cout .precision(3);
  16. cout << "circumference_of_circle_radius = "<<circumference_of_circle_radius << endl;
  17. return 0;
  18. }
  19.  
Success #stdin #stdout #stderr 0s 3144KB
stdin
Standard input is empty
stdout
 Insert the radius of the circle:  
circumference_of_circle_radius = -0.000
stderr
sh: 1: COLOR: not found