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
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:5| Question number:22
All Answers
total answers (1)
We can use a loop statement to rewrite the code.
need an explanation for this answer? contact us directly to get an explanation for this answer