fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3. int main(void)
  4. {
  5. int day;
  6. for (day = 1; day <= 7; day++)
  7. {
  8. int temp = round(day * 1.1);
  9. printf("%d\n", temp);
  10. }
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
1
2
3
4
6
7
8