Taller 11 Estructuras Repetitivas en Visual C
October 6, 2022 | Author: Anonymous | Category: N/A
Short Description
Download Taller 11 Estructuras Repetitivas en Visual C...
Description
^KHVNSRHAJA LH@HQJS K^NVJ DSJKJAJ ANWJSQJLNKQI AN QNBKI@IDÌJR AN@ BIKIBHLHNKQI WSIDSJLJBHÒK H QJ@@NS :: ‒
:. N`jcirjr uk pridrjlj qun hlprhlj ukj tjc`j an lu`thp`hbjr mjstj n` :7, ajai n` kõlnri lu`thp`hbjkai ahdhtjai pir tnb`jai
3. N`jcirjr uk pridrjlj qun pnrlhtj `nnr n` vj`ir an x y rnsi`vnr `j fukbhòk5 ( () < (3 ∓ :) 2 ∓ ( ∓ 1) ∓ 1 ∓ >
pjrj x bik bik vj`irns ansan 7 mjstj :7 nk hkbrnlnktis an :
2. N`jcirjr uk pridrjlj qun bunktn `is kõlnris kjturj`ns hlpjrns lnkirns an :77 1. N`jcirjr uk pridrjlj qun `nj k kõlnris ahdhtjais pir tnb`jai y bj`bu`n `j sulj, n` prilnahi, n` vj`ir lêxhli y n` vj`ir lìkhli
>. N`jcirjr uk pridrjlj pjrj bj`bu`jr n` likti titj` an vnktj an ukj thnkaj sn ancnk `nnr ais vjrhjc`ns (bisti ukhtjrhi y bjkthaja vnkahaj). Hlprhlhr n` vj`ir an `j vnktj y antnrlhkjr n` vj`ir fhkj` an `j vnktj sh sn rnj`hzjk :7 vnktjs j` aìj. Vj`hajr qun ki punan mjcnr kh vnktjs kh bjkthajans kndjthvjs
6. Snj`hzjr uk pridrjlj qun hlprhlj 3> tèrlhkis an `j snrhn ::, 33, 22, 11, ntb. (Ki sn hkdrnsjk vj`irns pir tnb`jai)
4. N`jcirjr uk pridrjlj qun `nj :7 kõlnris y antnrlhkn buêktis sik pishthvis =. Snj`hzjr uk pridrjlj pjrj bj`bu`jr n` prnbhi titj` an bjaj uki an `is k-jrtìbu`is an ukj bilprj, ajai n` prnbhi y sjchnkai qun n` hvj h vj ns an` :7 % sh n` prnbhi ns lnkir j >7.777 nk bjsi biktrjrhi :6%. Bj`bu`jr y nsbrhchr janlês n` titj` t itj` an `is prnbhis titj`ns supnrhirns j :77.777 y n` titj` an `is prnbhis titj`ns lnkirns i hduj`ns j :77.777
8. Nsbrhchr uk pridrjlj, qun pnrlhtj brnjr uk eundi pjrj jahvhkjr nk bhkbi hktnktis uk kõlnri an` 7 j` :8. Rn ancn dnknrjr j`njtirhjlnktn n` kõlnri j jahvhkjr. ^th`hzjr `js fukbhikns pjrj dnknrjr kõlnris j`njtirhis y `j hkstrubbhòk crnjo pjrj hktnrrulphr n` eundi sh n` usujrhi jahvhkj jktns an `is > hktnktis ^th`hzjr `js fukbhikns an chc`hitnbj qun dnknrjk kõlnris j`njtirhis5 srjka(thln( K ^@@ ))? K^@@ y < rjka() % L? #hkb`uan #hkb`uan 0thln.m;
Dnknrjair an j`njtirhis aikan L ns `j bjkthaja an j`njtirhis Chc`hitnbj
:7. Ansjrri``jr uk pridrjlj qun pnrlhtj `nnr `js nstjturjs an k nstuahjktns an uk bi`ndhi y antnrlhkjr buêktis thnknk nstjturjs5 - - - -
Nktrn 7,87 l y :,67 l Ljyirns qun :,67 l y lnkirns qun :,47 l Nktrn :,47 l y :,=7 l Ljyirns qun :,=7 l y lnkirns i hduj`ns h duj`ns j 3,:7
@js nstjturjs ki punank snr hkfnrhirns j 7,87 kh ljyirns j 3,:7
Wridrjljbhòk H
Qj``nr :: ‒ Nstrubturjs Snpnththvjs nk Vhsuj` B++
Wêdhkj :
::. ^kj bilpjúìj ancn bj`bu`jr `j bilhshòk qun rnbhcnk `is vnkanairns an su anpjrtjlnkti an vnktjs tnkhnkai nk bunktj n` vj`ir lnksuj` an vnktjs an bjaj uki (vj`ir an vnktj hkdrnsjai pir tnb`jai). @js bilhshikns sn bj`bu`jk jsì5 - - - -
Vnktjs Vnktjs Vnktjs Vnktjs
lnkirns qun $>.777.777 n` >% nktrn $>.777.777 y $:7.777.777 n` 4.>% Ljyirns qun $:7.777.777 mjstj $37.777.777 n` :7% supnrhirns j $37.777.777 n` :>%
Snj`hzjr uk pridrjlj lunstrn pjrj bjaj vnkanair n` vj`ir titj` an `js vnktjs y `j bilhshòk birrnspikahnktn. N` pridrjlj tnrlhkj bujkai sn ahdhtj bili vj`ir an vnktjs 7
:3. BI@ANWISQNR nstê hktnrnsjai nk prilivnr n` anpirtn an cjsquntci` y pjrj n``i ansnj vhkbu`jr j su `hdj, anpirthstjs qun bulp`jk bik `js shduhnktns shduh nktns bjrjbtnrìsthbjs5 - - - -
Naja nktrn :> y :8 júis Nstjturj nktrn :.=7 y 3.:7 lntris Wnsi nktrn 67 y =7 oh`is Mjbnr rnstrhbbhòk pjrj ljdkhtuans kndjthvjs
Brnjr uk pridrjlj qun `nj `j naja, `j tj``j y n` pnsi an `is jsphrjktns y antnrlhkn n` kõlnri an anpirthstjs qun bulp`n bik `js trns t rns bjrjbtnrìsthbjs pjrj pnrtnknbnr j `j `hdj y su pirbnktjen bik rn`jbhòk j` titj` an jsphrjktns. N` pridrjlj tnrlhkj bujkai sn ahdhtn bili ajti an nstjturj n` vj`ir 7
:2. Nk `j pjpn`nrìj an `j ukhvnrshaja sn vnkank 2 b`jsns an jrtìbu`is5 - - -
Snfnrnkbhj5 Wjpn` (pjpn`ns y bjrtikns) Snfnrnkbhj5 Bujanrki (bujanrkis (bujanrkis y c`iquns an a n pjpn`) Snfnrnkbhj5 Ljrbjair (`êphbns, nsfnris y p`ulikns)
Brnjr uk pridrjlj qun pnrlhtj5 - - - -
@nnr `j rnfnrnkbhj an k priaubtis, bjkthaja y prnbhi an` jrtìbu`i Bj`bu`jr n` vj`ir j pjdjr pir bjaj jrtìbu`i Jbulu`jr `j vnktj an tiais `is jrtìbu`is Ajr uk hkfirln an` kõlnri an jrtìbu`is vnkahais an bjaj ukj an `js rnfnrnkbhjs
:1. @nnr `j tnlpnrjturj an `is pjbhnktns an ukj b`ìkhbj jtnkahais aurjktn uk turki an nkfnrlnrìj y n`jcirjr uk pridrjlj qun bj`bu`n5 - - - -
Wrilnahi an tnlpnrjturjs Lêxhlj tnlpnrjturj Lìkhlj tnlpnrjturj Rh n` ulcrj` an fhncrn ns an 24.= ·B, biktjr buêktis pjbhnktns nstêk jfhncrjais
Kitj5 N` kõlnri lêxhli an pjbhnktns jtnkahais pir turki ancn snr :3 :>. ^kj nlprnsj an lnahbhkj prnpjdjaj rnquhnrn uk pridrjlj pjrj bj`bu`jr n` vj`ir an `j buitj lnksuj` an `is jfh`hjais. @j shduhnktn tjc`j prnsnktj `j bjtndirìj y n` vj`ir pir pnrsikj5
Wridrjljbhòk H
Qj``nr :: ‒ Nstrubturjs Snpnththvjs nk Vhsuj` B++
Wêdhkj 3
Bjtndirìj
Vj`ir pir pnrsikj
J C B
$6>.777 $=7.>77 $:37.777
Brnn uk pridrjlj qun pnrlhtj `nnr `j bjtndirìj y n` kõlnri an pnrsikjs j bjrdi an` jfh`hjai. N` pridrjlj ancn hlprhlhr, janlês, n` kõlnri titj` an jfh`hjais pir bjaj bjtndirìj y n` likti titj` rnbhchai pir bikbnpti an buitjs Kitj5 N` pridrjlj tnrlhkj bujkai sn ahdhtj bili bjtndirìj n` bjrêbtnr ]
:6. N`jcirjr uk pridrjlj qun pnrlhtj ljtrhbu`jr l nstuahjktns an `is ahfnrnktns pridrjljs jbjaèlhbis ahfnrnktns, sndõk `j shduhnktn tjc`j5
Bòahdi
Wridrjlj
Vj`ir j
HBH
Hkd. Bhvh`
$>.1:7.777
HHK
Hkd. Hkaustrhj`
$>.:6:.777
HLB
Hkd. nk Lnbjtròkhbj
$6.3>:.777
HL@
Hkd. Lu`thlnahj
$>.18:.777
HQ@ HJL
Hkd. Qn`nbilukhbjbhikns Hkd. Jlchnktj`
$>.218.777 $>.776.777
HCL
Hkd. Chilèahbj
$>.161.777
J` fhkj`hzjr n` pridrjlj sn ancn listrjr5 - Kõlnri an nstuahjktns ljtrhbu`jais pir pridrjlj jbjaèlhbi - Qitj` rnbjuajai pir bjaj pridrjlj jbjaèlhbi - Qitj` rnbjuajai pir bikbnpti an tiajs `js ljtrìbu`js
:4. N`jcirjr uk pridrjlj pnrlhtj pjrj ukis vnmìbu`is, `nnr `j ahstjkbhj rnbirrhaj (nk ol) y n` thnlpi an ansp`jzjlhnkti (nk mirjs), bj`bu`jr `j vn`ibhaja y antnrlhkjr5 -
Bujktis an `is bikaubtirns sik hkfrjbtirns, nxbnank `j vn`ibhaja lêxhlj pnrlhthaj an
- -
=7 ol/m.n` prilnahi an vn`ibhaja an `is hkfrjbtirns Bj`bu`jr Antnrlhkjr `j lêxhlj vn`ibhaja antnbtjaj
Kitj5 N` pridrjlj tnrlhkj bujkai sn ahdhtj ukj ahstjkbhj an 7 ol :=. @j fêcrhbj ‐@nbmnrhtj“ knbnshtj dnknrjr `js dnknrjr `js fjbturjs an sus b`hnktns, tnkhnkai nk bunktj qun priaubn bujtri thpis an qunsis5 Lizzjrn``j (L), aic`n brnlj(A), Bjlpnshki(B), Qrnkzj (Q) y n` prnbhi pir oh`i nstê ajai pir `j shduhnktn tjc`j5
Qhpi an Zunsi
Wridrjljbhòk H
Vj`ir an` Oh`i
B L A
$:6.777 $31.>77 $:=.777
Q
$:3.777 Qj``nr :: ‒ Nstrubturjs Snpnththvjs nk Vhsuj` B++
Wêdhkj 2
@j fêcrhbj sn nkbunktrj j`nejaj an `j bhuaja pir `i buj` sn ancn bicrjr n` trjkspirtn sndõk `j bjkthaja an qunsi si`hbhtjai jsì5 sh n` kõlnri an oh`is ns lnkir j 37 n` vj`ir an` trjkspirtn ns an $:>.777 nk bjsi biktrjrhi snrê an $27.777. N`jcirjr uk pridrjlj nk qun pnrlhtj dnknrjr `js fjbturjs pjrj > b`hnktns, bjaj fjbturj ancn hkb`uhr n` thpi an qunsi, bjkthaja nk oh`is, vj`ir titj`, vj`ir an` trjkspirtn y vj`ir j pjdjr.
:8. ^k fikai an pnkshikns rnquhnrn uk pridrjlj pjrj vj`hajr `is rnquhshtis qun ancn bulp`hr uk jfh`hjai pjrj n` rnbikibhlhnkti an` anrnbmi j pnkshòk an vnenz ajai n` snxi (F/L), naja y kulnri an snljkjs bithzjajs y sjchnkai qun5 - Milcrn, 63 júis y :277 snljkjs bithzjajs. ‐Anrnbmi j pnkshòk an vnenz“ - Luenr, >4 júis y :277 snljkj bithzjajs. ‐Anrnbmi j pnkshòk an vnenz“ - Nk bjsi biktrjrhi juk ki bulp`n bik tiais `is rnquhshtis nxhdhais pjrj n` rnbikibhlhnkti j an` anrnbmi j `j pnkshòk an vnenz. N` pridrjlj j trjvès an uk lnksjen ancn pnrlhthr rnpnthr n` pribnsi.
37. ^kj nlprnsj nlprnsj an an djs kjturj` rnquhnrn uk pridrjlj pjrj dnknrjr `js fjbturjs an sus kb`hnktns ajaj `j `nbturj jktnrhir, `j `nbturj jbtuj` y n` nstrjti an bjaj prnahi pjrj bj`bu`jr n` biksuli nk L2 y sjchnkai qun uk L 2 an djs nquhvj`n j 8,=> OTM y n` prnbhi an OTM ns $::>,38. N` bjrdi fhei nstê ajai pir `j shduhnktn tjc`j5
Nstrjti
Bjrdi Fhei
:y3 2y1 >y6
$3.7>7 $2.7=3 $1.:37
Listrjr vj`ir vj`ir an` an` biksuli, bjrdi fhei y vj`ir j pjdjr.
Wridrjljbhòk H
Qj``nr :: ‒ Nstrubturjs Snpnththvjs nk Vhsuj` B++
Wêdhkj 1
View more...
Comments