fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // Input
  6. float r; cin >> r;
  7.  
  8. // Process -> Output
  9. cout << "Circumference = " << 3.14*2*r;
  10. }
Success #stdin #stdout 0.01s 5284KB
stdin
4
stdout
Circumference = 25.12