#include <stdio.h>

// El tipo de los operandos decide qué división se hace.
int main(void) {
    int a = 7, b = 2;

    printf("%d %.1f\n", a / b, (double) a / b);

    double half = 1 / 2;
    double real_half = 1.0 / 2;
    printf("%.1f %.1f\n", half, real_half);

    int truncated = 3.99;
    printf("%d\n", truncated);
    return 0;
}
