16. C – goto Statement
The goto statement allows us to transfer control of the program to the specified label. Syntax of goto Statement The label is an identifier. When the goto statement is encountered, the control of the program jumps to label: and starts executing the code. Example: goto Statement Output 1. Enter a number: 3 2. Enter a number: 4.3 3. Enter a number: 9.3 4. Enter… Read More »
