C++ supports jumps and in most cases there are better ways to branch code.
However, for completeness, we will cover the mechanism here.
There are two parts to a jump, a labeled statement to jump and the to go to statement.
A label has the same naming rules as a variable and its declared suffixed with the column and it must
be before statement here.
The go to statement is called using the labels name here.
Let's make it another follow up here for integer.
Four integer zero while is less than ten.
For integer zero, while E is less than ten and increment E by one here and std std C out or make it
clear c of e here and end line here.
And if E equals five, then go to RN here and.
Actually, we don't need we have to declare the end here as well, if we make it go through here and
here.
Outside the loop here in the main function.
And.
STD.
Arrested or killed.
And here.
So the label must be in the same function as the column go through here.
So let's make it run.
And as you can see here, if condition is executed and we made it with go keyboard and executed the
end here.
So the label must be in the same function as the calling.
Go through here, as I said earlier.
But the jumps are rarely used because they encourage you to write non structured code.
However, if you have a routine with the Halloween as a loops or if statements, it might make more
sense and more readable to use a go to to jump to clean up code here.