Q:

The last example in this section that jumped back to begin could be better written using a loop. Rewrite the code to eliminate the goto

0

The last example in this section that jumped back to begin could be better written using a loop. Rewrite the code to eliminate the goto.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

We can use a loop statement to rewrite the code.

 int sz;
 while ((sz = get_size()) <= 0) ; // Null statement

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now