Computer Science, asked by pradeepbabita101, 3 months ago

explain the use of branching statement in small bases with the help of an example​

Answers

Answered by BrainlyLifeRacer
3

➨Branching statements allow the flow of execution to jump to a different part of the program. The common branching statements used within other control structures include: break , continue , return , and goto . The goto is rarely used in modular structured programming.

 \sf\pink{This\:is\:your\:Answer}

 \sf{Thank\:you!!}

Answered by Ristar
1

☀︎︎ANSWER☀︎︎

Branching statements allow the flow of execution to jump to a different part of the program. The common branching statements used within other control structures include: break, continue, return, and goto. The goto is rarely used in modular structured programming. Additionally, we will add to our list of branching items a pre-defined function commonly used in programming languages of: exit

Examples

break

The break is used in one of two ways; with a switch to make it act like a case structure or as part of a looping process to break out of the loop. The following gives the appearance that the loop will execute 8 times, but the break statement causes it to stop during the fifth iteration.

Similar questions