@ -167,3 +167,9 @@ short gethd(char *message, short *min, short *max) {
LD(max)
return getNumber(message, minld, maxld, NULL, NULL, SHRT_MIN, SHRT_MAX);
}
int getd(char *message, int *min, int *max) {
LD(min)
return getNumber(message, minld, maxld, NULL, NULL, INT_MIN, INT_MAX);