if ((freq > 144) && (freq < 148))
    printf("You're on the 2 meter band\n");
else if ((freq > 222) && (freq < 225))
    printf("You're on the 1.25 meter band\n");
else if ((freq > 420) && (freq < 450))
    printf("You're on the 70 centimeter band\n");
else
    printf("You're somewhere else\n");