#include <stdio.h>void __fpurge(FILE *stream);
__fpurge(stdin); // Limpiamos el buffer de entrada estándar.scanf("%d",&num);