#include #define LIMIT_LOW 0 #define LIMIT_HIGH 25 int main(void) { int max, min; int temp; max = LIMIT_LOW, min = LIMIT_HIGH; scanf("%d", &temp); while ((LIMIT_LOW <= temp) && (temp <= LIMIT_HIGH)) { if (max < temp) max = temp; if (min > temp) min = temp; scanf("%d", &temp); } printf("MAX = %d\n", max); printf("MIN = %d\n", min); return 0; }