I am having an issue with output from a do while loop. Code is below
do
{
printf ("Height:");
height=get_int();
}
while (height < 0 || height > 23);
it works for negative numbers and loops "Height" and get_int again. However it will not work for the >23. When a number greater than 23 is entered, it does not loop.