#include int main() { int within_bounds(int, int, int); int number; int lower_bound; int upper_bound; printf("Enter lower bound: "); scanf("%d", &lower_bound); printf("Enter upper bound: "); scanf("%d", &upper_bound); printf("Enter test number: "); scanf("%d", &number); if(within_bounds(number, lower_bound, upper_bound)) { printf("Within bounds"); } else { printf("Outside bounds"); } return 0; } int within_bounds(int x, int low, int high) { if(x >= low && x <= high) return 1; return 0; }