cod3.c 195 B

12345678
  1. #include <stdio.h>
  2. void main (void) {
  3. printf("3 / 2 * 2 = %d\n", 3 / 2 * 2);
  4. // 3 / 2 * 2 = 2
  5. printf("3.0 / 2 * 2 = %f\n", 3.0 / 2 * 2);
  6. // 3.0 / 2 * 2 = 3.000000
  7. }