Elaborar Un Algoritmo Que Lea Un Número de Dos Dígitos

July 20, 2022 | Author: Anonymous | Category: N/A
Share Embed Donate


Short Description

Download Elaborar Un Algoritmo Que Lea Un Número de Dos Dígitos...

Description

 

9. Acijkrir uf icmkret`k qua cai uf fô`ark ha hks hàmetks, y se ci heveseòf ha asa fô`ark aftra befbk as emuic i tras k befbk, haja e`pre`er ac fô`ark, ha ck bkftrirek, se ac buihrihk buihrih k hac fô`ark as pir y `afkr ha 5> haja e`pre`er ac `afkr ha sus hks hàmetks hac fô`ark caàhk. Efebek i0>, j0>7 Asbreji (–Efmrasa ac pre`ar fô`ark‐) Cai i Asbreji (–Efmrasa ac samufhk fô`ark‐) Cai j Re (ij/102) k (ij/101) Aftkfbas Asbrejer (–Ac fô`ark as‐ ij) Oef se Bisk bkftrirek Re (ij) V: V: `kh :0> y (ij) V:35> y (i3j) Aftkfbas E`pre`er (i) Oef se

Oef

:. Acijkrir uf icmkret`k qua cai tras fô`arks y se ac pre`ark as `iykr qua ac samufhk e`pre` e`p re`a a ci su su`i `i ha accks accks y se ac samufh samufhk k as `iykr `iykr qu qua a ac pr pre`a e`ark rk e`pre` e`pre`a a su `uctepcebibeòf. Efebek f90>, f:0>, f20>7 Asbreji (–Efmrasa ac pre`ar fô`ark‐) Cai f9 Asbreji (–Efmrasa ac samufhk fô`ark‐) Cai f: Asbreji (–Efmrasa ac tarbar fô`ark‐) Cai f2 Re (f96f:) Aftkfbas su`i0f9+f: Asbreji (–Ci su`i ha cks fô`arks as ‐ su`i) Bisk bkftrirek

 

Re (f:6f9) Aftkfbas prkhubtk0f:*f9 Asbreji (–Ac prkhubtk ha cks hks fô`arks as – prkhubtk) Oef se Oef 2. Af ufi a`prasi sa bicbuci ac sicirek jrutk ha uf a`pcaihk utecezifhk ci semueafta tijci ha hitks.  

Lkris * _ickr lkri 9.1 * _ickr _ickr lkri (L (Lkris kris Xrijidihis- 8>) + 8> * _ickr Lkri

Buifhk lkris Xrijidihis 30 8> Buifhk lkris Xrijidihis 6 8>

^iri bicbucir ac sicirek fatk utecezif ac semueafta buihrk. Ricirek Jrutk Buifhk sicirek jrutk as 30 ?1>>>> Rici Ri cire rek k Jru Jrutk ‒ (91 (91 + >. >.81 81 * Rici Ricire rek k Buifhk sicirek jrutk as 6 ?1>>>> Jrutk) Acijkra uf icmkret`k qua cai bòhemk, Ricirek Lkri, Lkris Xrijidihis. Bicbucir a e`pre`er  ac fatk. Efebek lkrist0>, sicirekjrutk0>, sicirekfatk0>, vickrlkri0>, vickrtktic0>, vlkrist0>, bkhemk7 Asbreji (–Efmrasa ac bòhemk ha a`pcaihk‐) Caar bòhemk Asbreji (–Efmrasa sicirek pkr lkri‐) Caar vickrlkri Asbreji (–Efmrasa lkris trijidihis‐) Caar lkrist vlkrist0 8>*vickrlkri lkriaxtri0lkrist-8> vlkrisaxtri0vickrlkri*9.1 sicirekjrutk0vlkriaxtri+vlkrist ratafbekf0910>.81*sicirekjrutk Re lkrist308> y sicirekjrutk30?1>>>> sicirekfatk0vickrtktic+sicirekjrutk E`pre`er (Ac sicirek fatk as +sicirekfatk) Re lkrist68> y sicirek jrutk30?1>>>> E`pre`er (–Ac sicirek fatk as +sicirekfatk)

 

Re lkrist68> y sicirekjrutk6?1>>>> Ricirekfatk0sicirekjrutk-ratafbekf E`pre`er (

8. Caar Bòhemk, Ricirek ibtuic, Iùks trijidihks, XepkBirmk (9, :,2). Ac icmkret`k haja bicbucir a e`pre`er ac vickr hac iu`aftk, ac fuavk sicirek. Ac vickr hac iu`aftk sa bicbuci ha ibuarhk ic tepk ha birmk y iùks trijidihks ha ibuarhk i ci semueafta tijci ha hitks. Xepk birmk 9 9 9 9 9 : : : 2 2 2 2

 Iùks trijidihks trijidihks

^krbaftida ^krbaftida Iu`aftk

9i2 8i1 ?i= @is ha 9>

% hac sicirek ibtuic 9:% hac sicirek ibtuic 91% hac sicirek ibtuic 9=% hac sicirek ibtuic 1% hac sicirek ibtuic Iùks ha ahih, ha ck bkftrirek skck ca tkbi ac 2>%.  Ic tarbark ca tkbi 2=% ha ci biftehih sea`pra y buifhk sai `udar skctari, ha ck bkftrirek ca tkbi ac 1>%. Acijkra uf icmkret`k qua cai cks hitks fabasireks, bicbuca a e`pre`i buiftk ca tkbi i 





bihi lar`ifk y i queaf ca tkbi `és hefark.

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF