fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6.  
  7.  
  8. double a;
  9. //printf ("%f",a);
  10. double b=2;
  11. a = 2 * (b * 5/2);// / (5/2);
  12. printf ("%f",a);
  13.  
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
10.000000