Question: C Programming: I have a code snippet that works perfectly on codeblocks but I get a forever loop that goes on forever when I use
C Programming:
I have a code snippet that works perfectly on codeblocks but I get a forever loop that goes on forever when I use our E-book platform.
I can not upload my entire code due to Chegg's Honor Code , but this is the do while loop of question. The program tells me to check program for unterminated loops. I can't find any.
Program accepts only numbers, so when "doh" is entered it loops forever on this platform. driving me nuts.

output error

do I/ will allow user to enter another set of numbers to be evaluated dot printf("Enter a value for a:" char term; fflush(stdin); continue; else break while(1) 9: Compare output Program generated too much output. Output restricted to 50000 characters. Check program for any unterminated loops generating output. doh Input 2 20 Enter a value for a : Enter a value for b:Enter a value for b:Enter a Your output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
