EZSLBOY420 said:
Machang If aka k\looping walata pawichchi karanna puluwanda.Athakota Do while n till monada?oya kiyana akama awawalin karanna puluwanda?
"if" pawichchi karala loop karanna baha machang.. "if" eken karanne oyage condtion ekak ho keepayak ekaparakata match karala dena eka withrai.. match une nathnam eka "else" walata watenawa!! Namuth oyata "if" use karala data tika filter karagena eeta passe "for" hari "do/while" hari ekakin loop karanna puluwan
dan x-pert oyata kiyala dunna solution eke thiyenne complete logic eka ekai pseudocode eka.. so patalawa ganna epa harida api me katha karanne eka implement karana widiha!! wena widihihakin kiwwoth oya logic eka code karana widiha!!
mama dan issella kiwwa eka example ekak "for" loop ekata, program eka run wenwa machang "for" eke athule thiyena conditions match wenakal, ekai eke aramuna!!!
do while walin karannath puluwan, "for" loop eken karannath puluwan, namuth wenasa mekai
api "for" use karoth issella program eka condition eka check karalai idiriyata yanne.. BUT api "do/while" loop pawichchi kaloth program eka isella ape statement eka execute karala thamai conditions check karanne!!
Oka thama main difference eka...
Hope you can understand... but machang dont think too hard about this if you dont have to at the moment because coding/language is just SYNTAX logic is the MOST important PART..
so if you find a logical solution, you can turn it into any language.. that's the idea and that's why they teach you logics first!!!
GOOD LUCK!!