After trial and error and all the responses I finally got the program to run it just needed this
The reason it kept loopping is I needed to flush the variable. How wierd but it works.Code:iResponse = scanf("%f", &fSubtotal ); while (fSubtotal < fCheck || iResponse != 1){ fflush(stdin); printf("\n\tPlease Re-enter your Subtotal: $"); iResponse = scanf("%f", &fSubtotal ); }//end while loop
Thanks again
Attached is the final program. That works great.