fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i;
  5. for(i=15;i<61;i++){
  6. printf("%x %d %f\n",i-15,i,(float)3600/i);
  7. }
  8. }
  9.  
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
0 15 240.000000
1 16 225.000000
2 17 211.764709
3 18 200.000000
4 19 189.473679
5 20 180.000000
6 21 171.428574
7 22 163.636368
8 23 156.521744
9 24 150.000000
a 25 144.000000
b 26 138.461533
c 27 133.333328
d 28 128.571426
e 29 124.137932
f 30 120.000000
10 31 116.129036
11 32 112.500000
12 33 109.090912
13 34 105.882355
14 35 102.857140
15 36 100.000000
16 37 97.297295
17 38 94.736839
18 39 92.307693
19 40 90.000000
1a 41 87.804878
1b 42 85.714287
1c 43 83.720932
1d 44 81.818184
1e 45 80.000000
1f 46 78.260872
20 47 76.595741
21 48 75.000000
22 49 73.469391
23 50 72.000000
24 51 70.588234
25 52 69.230766
26 53 67.924530
27 54 66.666664
28 55 65.454544
29 56 64.285713
2a 57 63.157894
2b 58 62.068966
2c 59 61.016949
2d 60 60.000000