Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 97 - Math_Genius_1 2
P. 97

    mijksDr dksM dk vkmViqV gS%
                     ,slk blfy, gS D;ksafd  break LVsVesaV fu"ikfnr gks tkrk

                     gS tc ^if* dhoMZ osQ lkFk nh xbZ 'krZ lR; gks tkrh gS]
                     (x = = 2) ftlosQ dkj.k ywi fu"ikfnr gksuk can gks tkrk gS
                     vkSj ywi osQ ckgj LVsVesaV vkrk gSA

                                                                                              vkmViqV (Output)
                     oaQfVU;w LVsVesaV (The Continue Statement)
                     czsd LVsVesaV osQ foijhr] oaQfVU;w LVsVesaV ywi osQ vxys iqujko`fÙk
                     (iteration) dks gksus osQ fy, etcwj djrk gS vkSj orZeku iqujko`fÙk
                     dks NksM+ nsrk gSA mnkgj.k osQ fy,]
                     continue LVsVesaV x = = 2 for ywi osQ fu"iknu dks vo#¼ djrk
                     gSA ywi osQ fy, x osQ vU; lHkh ekuksa osQ fy, lkekU; :i ls
                     fu"ikfnr fd;k tk,xkA                                           oaQfVU;w LVsVesaV (Using continue statement)

                                                               vkmViqV (Output)

                      vkvks nksgjk,¡

                           buiqV( ) vkSj ¯izV ( ) iaQD'ku dk mi;ksx fu"iknu osQ nkSjku mi;ksxdrkZ ls buiqV ysus vkSj LØhu ij vkmViqV dks
                            Øe'k% fçaV djus osQ fy, fd;k tkrk gSA
                           ik;Fku esa rhu oaQMh'kuy LVsVesaV gSa & if LVsVesaV, if....else LVsVesaV, if....elif....else LVsVesaVA
                           ywfiax LVsVesaV gesa funZs'kksa osQ ,d lsV dks ,d fuf'pr la[;k esa nksgjkus dh vuqefr nsrk gSA

                           break LVsVesaV ml ywi dks lekIr djrk gS ftlosQ Hkhrj og fufgr gSA
                           continue LVsVesaV ywi osQ vxyh iqujko`fÙk dks gksus osQ fy, etcwj djrk gS vkSj orZeku iqujko`fÙk dks NksM+ nsrk
                            gSA

                                                                              ikbFku esa oaQfM'kuy vkSj ywfiax LVsVesaV~l  95

| 92 93 94 95 96 97 98 99 100 101 102 |