Pls someone should help with this question write a program to illustrate the use of break,continue,go to statement,and | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Pls someone should help with this question write a program to illustrate the use of break,continue,go to statement,and

Infinite looping

14th Jan 2020, 10:29 PM
Augustine
4 Answers
+ 1
Adding that... break; //statement causes current loop to exit. continue; //this statement causes loop run with next iteration. Means skips execution of next statements of current iteration which are next to continue... goto label; //controls goes to the label statement line... Infinite loops : which don't have exit condition.. Run over and over again...
15th Jan 2020, 12:22 PM
Jayakrishna 🇮🇳
+ 5
Please show your attempt, to show a goodwill for trying. And specify a relevant language in the question tags to improve context clarity. P.S. It appears your question title is truncated, incomplete. You can write more in the Description if there wasn't enough room to type in the question title.
14th Jan 2020, 11:48 PM
Ipang
+ 1
Using c++ as a language I write a program to illustrate the use of break, continue, go to statements, and infinite loop. I don't know how it works
15th Jan 2020, 9:56 AM
Augustine
+ 1
Augustine I see you have joined C++ course 3 months ago. I don't know how far you have gone through the course, or whether you have finished it, but I assure you that most of what you need to complete the task is available in the course. I strongly recommend you to review the "Conditionals and Loops" chapter.
15th Jan 2020, 10:13 AM
Ipang