break and continue statements | C Programming Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

quick question, since 'i' is < 10, why did 10 print? shouldn't it stop at 9.

Chigo-nrjg
Автор

I wrote on Python this
While True:
Line = Input (‘>done’)
If line == ‘done’:
Break
Print (line)
Print (“Done!”)
But the problem I’m experiencing is that the loop doesn’t end so I can change anything so I want to know if I did something wrong and how I should write it

IliosAdamos