Can we use goto statement within for loops for conditional jumping? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can we use goto statement within for loops for conditional jumping?

I'm trying to write a program to solve transportation problem In north west corner method there is no need of unconditional jumping In Row minima method there needed some jumping Can we do this type jumping without changing the loop values is possible.????

24th Dec 2019, 5:15 PM
U Hariharan
U Hariharan - avatar
2 Answers
+ 1
According to my knowledge, goto is a cancerous practice and instead one should plan their code properly and utilize code reusability
24th Dec 2019, 6:24 PM
Randych
Randych - avatar
0
Yes..
24th Dec 2019, 6:14 PM
Jayakrishna 🇮🇳