Program to demonstrate the use of goto statement in C#

 

Output:-

Sum of odd numbers from 0 to 20: 100

 

The goto statement is used as a jump statement that skips some of the some that we don’t want to execute on some condition….

The following two tabs change content below.

Jagruti Chaugule