You are on page 1of 11
GOA COLLEGE OF ENGINEERING 26 “Bhausaheb Bandodkar Technical Education Complex” asics of for and do-coniie Looe Aim | write _¢ programs for N) 1 find Ger of 4630 ave 2QTO find Lem of tuo ALMbers BITS find sum of series 14 | ets + 4) To Find sum of series 712? Theory f-100p; symay for (inivia\isotion 4 condision, ypdare \y Zarernen Et L Nostemeoss The initialisation starement is executed On Once -Then ane _41€51 expression is evaluated - TF the test expression is evawased +0 false, then the sor loop terminares+ Bor if it 1s Arve Statements inside the loo@ are execured and opdare expression is oPdated - Again +ne expression is evalvared Anis Precess Goes aN Until the +es+ ey pression is false clo- white «syntax dot a HN stasensenss 4 wore (condirion): The do uwile 100 is an exit conwoned \00P . we con Seead +he execution Of the Siarements- Ts is mostly used in cases where we need ro- GOA COLLEGE OF ENGINEERING “Bhausaheb Bandodkar Technical Education Complex” Larger = 5 Maver =a £ Garget 1 Smaitersso) | Crien€ Cerne 46m is iidlts larger) \eon= larger Gane Cemsclarger) z N= larger * 1 if Cn}: smmaer==0 } EE lemeny eles prints (The Lem is “fd 9) break GOA COLLEGE OF ENGINEERING “Bhausaheb Bandodkar Technical Education Complex” ‘ ie oe a orn ae { Som. OF Figag — ae sum =o INOS A Nomber oF 4urns : for Sie eae ti Suey e SGewmlu7iy Ovtput sure Progrard Aclude Cstdio hy aimaindy jica* sot, ins sum=o -| SUF (Emer number Of 4erms io), scans CULE 269 for (it 14 ieee sum= sumeCTi) Pring €''s0en 1s -f4") Suen) ipue y Humber OF Ferny fom is 2-28B35 88 a “cS Tel 2330335

You might also like