fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // BEGIN (write your solution here)
  5. for(float i = 0; i <= 300; i += 20)
  6. {
  7. printf("%.2f : %.2f\n", i, i * 0.621);
  8. }
  9. // END
  10. return 0;
  11. }
Success #stdin #stdout 0s 5272KB
stdin
Standard input is empty
stdout
0.00 : 0.00
20.00 : 12.42
40.00 : 24.84
60.00 : 37.26
80.00 : 49.68
100.00 : 62.10
120.00 : 74.52
140.00 : 86.94
160.00 : 99.36
180.00 : 111.78
200.00 : 124.20
220.00 : 136.62
240.00 : 149.04
260.00 : 161.46
280.00 : 173.88
300.00 : 186.30