Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 89 - Math_Genius_1 2
P. 89

    buiqV LVsVesaV (INPUT Statement)
                     buiqV LVsVesaV dk bLrseky ju Vkbe ij ;wtj ls oSY;w ysus osQ fy, fd;k tkrk gSA mnkgj.k osQ fy,%

                     INPUT Name$

                     PRINT Name$
                     tc vki iwoZorhZ LVsVesaV~l dks fu"ikfnr djrs gSa] rks vkidks VsDLV vkmViqV {ks=k esa uke n”kZ djuk gksxkA uke n”kZ

                     djus osQ ckn tc vki ,aVj dh nckrs gSa] rks n”kZ fd;k x;k uke fçaV gks tk,xkA ge bl LVsVesaV osQ lkFk lans'k dk

                     Hkh mi;ksx dj ldrs gSaA mnkgj.k osQ fy,%

                     INPUT "Enter first number: ", num1

                      vkvks nksgjk,¡

                           csfld&256 x.kuk vkSj O;kolkf;d vuqç;ksxksa osQ fy, mi;ksx dh tkus okyh ,d cgqr gh ljy çksxzkfeax Hkk"kk gSA

                           laiknd dh igpku ml {ks=k osQ :i esa dh tkrh gS] tgk¡ ge vius csfld&256 dk;ZØe fy•rs gSaA

                           oaQI;wVj dh eseksjh esa fofHkUu çdkj dh lwpukvksa] tSls VsDLV ;k uacj dks LVksj djus osQ fy, ,d osfj,cy dk
                            mi;ksx fd;k tkrk gSA

                           osfj,cy dks ge tks uke nsrs gSa] os vkbMsafViQk;j dgykrs gSaA

                           csfld&256 esa vkWijsVj fo'ks"k çrhd gSa] tks vadxf.kr ;k rkfdZd x.kuk djrs gSaA

                           fVIif.k;ksa dk mi;ksx çksxzke dksM dks le>kus osQ fy, fd;k tkrk gSA

                       D;k lh[kk!

                       I.  lgh mRrj ij lgh ( ) dk fpg~u yxkb,A

                          1-  csfld&256 esa çksxzke pykus osQ fy, fdl dh dk mi;ksx fd;k tkrk gS\

                             d- ,aVj                          [k-  F5                      x-  F10

                                                              --------------------------------
                          2-  osfj,cy ftlesa ,d iw.kZ la[;k gksrh gS]           dgykrh gSA
                             d- fLVªax                        [k-  iw.kkZad                x-  okLrfod la[;k

                          3-  csfld-256 esa nks ekuksa dks xq.kk djus osQ fy, vkidks fdl vkWijsVj dk mi;ksx djuk pkfg,\

                             d-  **                           [k-  *                       x-  x
                          4-  fuEufyf•r esa ls dkSu csfld&256 esa ,d vkWijsVj gS\

                             d-  $                            [k-  !                       x-  ^

                                                                                                csfld&256 dk ifjp;  87

| 84 85 86 87 88 89 90 91 92 93 94 |