Pascal | While takrorlash operatori

Assalomu alaykum azizlar bugun While takrorlash operatori haqida gaplashamiz. Oldin quyidagi savollarga javob berishga harakat qiling:

  1. For bilan Repeat takrorlash operatorlarni farqi nima?
  2. Repeat ishlash prinsipni tushunturishga harakat qiling!

Yuqoridagi savollarga to’liq javob berdingizmi ??? Agar javobingiz yo’q bo’lsa Repeat takrorlash operatori darsini qayta o’qing.

Demak darsimizni boshlasak…

Repeat operatorida siklning tanasi kamida bir marta takrorlanadi. Shu bir marta hisoblash ham yechilayotgan masalani mohiyatini buzib yuborishi mumkin. Bunday hollarda While sikl operatoridan foydalangan maqsadga muvofiq.
While operatorining umumiy ko’rinishi:

While <shart> DO
Begin
 <Sikl tanasi>;
End;

Bu yerda while ( hozircha), DO (bajarmoq) xizmatchi so`zlari;
<shart> sikl tanasi bajaralishini ifodalovchi mantiqiy ifoda;
<Sikl tanasi> ixtiyoriy operator yoki operatorlar majmui. 

Operatorning ishlash tartibi:
Agar <shart> rost ( true ) qiymatga ega bo`lsa, <Sikl tanasi> bajariladi. Qachonki shart yolg`on (false) qiymatga ega bo`lsa sikl tugatiladi.
Agar <shart> true qiymatga ega bo`lmasa <Sikl tanasi> biror marta ham bajarilmaydi.

DIQQAT: While sikl operatoridan, qachon <shart> false (yolg’on) qiymat qabul qilsa chiqiladi. Ya’ni boshqarilish While operatoridan keyingi operatorga uzatiladi. Agar <shart> false qiymat qabul qilmasa, while sikl operatoridan chiqib ketilmaydi va bu jarayon sikllanib qolish deyiladi.

Endi navbat misolga.

Misol1:  S=1+2+3+…..99+100;

Avvalgi darsimizda shu misolni repeat operatori yordamida ishlagandik endi while operatori yordamida ishlaymiz.

Program misol1;
uses crt;
var  s,i:integer;
begin
s:=0; i:=1;
while i<=100 do
begin
   S:=S+i;
   inc(i);//i:=i+1;
end;
  WriteLn('Natija = ',s);
end.

Mualliflik huquqi buzilmasin!

Saytdan qisman yoki to‘liq ma’lumot olinayotganda Sayt manzili (CMDcoding.zn.uz) ko‘rsatilishi SHART

1 642 thoughts on “Pascal | While takrorlash operatori”

  1. Is generic sildenafil as well-disposed as sildenafil 20 mg tablet. Generic Viagra, sildenafil citrate, works the very as how long does it take for viagra to kick in online viagra but at a crop cost. While Pfizer up till manufactures the “smidgen x pain in the neck,” other companies, globally and in the Collective States, exhort sildenafil that may look different but is still an operational treatment someone is concerned erectile dysfunction.

  2. Pingback: viagra 50mg pill
  3. Pingback: generic viagra 200
  4. It’s appropriate time to make some plans for the future
    and it’s time to be happy. I have learn this publish and if I may I desire to counsel you some attention-grabbing things or tips.
    Maybe you can write subsequent articles regarding this article.

    I desire to learn more things about it!

  5. I’ve been browsing online more than 3 hours today, yet I never found any interesting article like
    yours. It’s pretty worth enough for me. Personally, iif all webmasters and bloggers made good content
    as you did, thhe web will be much more useful than ever before.|
    I couldn’t rfrain from commenting. Perfectly written!|
    I will right away seize your rss feed as I can not
    find your e-mail subscription link or newsletter service.
    Do you have any? Kindly permit me recognize
    so that I may just subscribe. Thanks.|
    It is appropriate time to make some plans for the future and it’s time to be happy.
    I’ve read this post and if I could I want to suggest you few interesting things or suggestions.

    Perhaps you could write next articles referring to this article.
    I wish to read even more things about it!|
    It is the best time to make a few plans forr thhe future
    and it’s time to be happy. I have learn this put up and if I may just I desire to counsel
    you some interesting things or suggestions. Perhaaps you
    can write subseauent articles regarding this article.
    I desire to learn more things approximately it!|
    I’ve been browsing online greater than three hours lately,
    yet I never discovered any fascinating article like yours.
    It’s beautiful price sufficcient for me. In my view, if all website owners and bloggers made
    just right contejt as you probably did, the web might be
    a lot more helpful than ever before.|
    Ahaa, its good conversation on the topic of this post here at this website, I have read
    all that, so at this time mee also commjenting here.|
    I am sure this post hass touched all the internet viewers, its really really pleasant article on building up new
    web site.|
    Wow, this articlee is fastidious, my younger sister is analyzing these things, therefore I am going to let know her.|
    Saved as a favorite, I really like your site!|
    Waay cool! Some very valid points! I appreciate you penning this post
    and the rest of the website is really good.|
    Hi, I do think this is a ggreat website. I stumbledupon it 😉 I will return yet gain since i have book-marked it.
    Money and freedom is the bet way to change, may
    you bee rich and continue to help other people.|
    Woah! I’m really digging the template/theme of this site.
    It’s simple, yet effective. A lot of times it’s vdry hard to
    get that «perfect balance» between user friendliness and visual appearance.
    I must say that you’ve done a excellent job wjth this.

    In addition, thee blog loads very quick for me on Safari.
    Outstanding Blog!|
    These are actually impressive ideas in regarding blogging.
    You hzve touched some nice points here. Any way keep up
    wrinting.|
    I enjoy what you guhys are up too. This type of clever work andd
    coverage! Keep up the very good works guys I’ve yyou
    guys to our blogroll.|
    Hello! Someone in mmy Myspace group shared this website
    with us so I came to chedck it out. I’m definitely loving the information. I’m bookmarking
    and wil be tweeting tbis to myy followers! Outstanding blog and outstanding style and design.|
    I love what you guys are usually up too. This type of clever work
    and coverage! Keep up the good works guys I’ve included you
    guys to our blogroll.|
    Hi would you mind stating which blogg platform you’re working with?
    I’m planning to start my own blog in the near future but I’m having
    a tough time making a decision between BlogEngine/Wordpress/B2evolution and
    Drupal. The reason I ask is because yourr design seems different then most blogs and I’m looking for something unique.
    P.S Sorry for being off-topic but I had to ask!|
    Hey would you mind letting me know which webhost you’re working with?
    I’ve loaded your blog in 3 completely different web browsers and I must say this blog loads a lot faster then most.
    Can you suggest a good internet hosting provider at a fair price?

    Thanks a lot, I appreciate it!|
    I love iit when folks get together and share opinions.
    Great site, continue the gopd work!|
    Thank you for tthe good writeup. It in fact was a amusement account it.
    Look advanced to far added agreeable from you! However, how
    can we communicate?|
    Hi there just wanted to give you a quick heads up. The tewxt in your post seem to bbe running
    offf the screen in Firefox. I’m not sure if this is a
    format issue or something to do with weeb browser compatibility but I figured I’d post to let you know.
    The design and style lolok great though! Hope you gget the problem fkxed soon. Thanks|
    This is a topic that’s close to my heart…
    Cheers! Where aare your contact details though?|
    It’s very trouble-free to find out any topic on web as
    compared to textbooks, as I found this paragraph att
    this web page.|
    Does your blog have a contact page? I’m having a tough time locating it but, I’d like to shoot you an email.
    I’ve gott some suggestions for your blog you might bee interested
    in hearing. Either way, great blog and I look forward
    to seseing it expand over time.|
    Greetings! I’ve been reading your site for a long time now and finally got the courzge too go ahead and give you
    a shout out from Huffman Tx! Just wanted to mention keep up the excellent job!|
    Greetings from Colorado! I’m bored at work so I decided too check out your website on my
    iphone during lunch break. I really like the info you present here
    and can’t wait to take a look when I get home.

    I’m shocked at how fast your blog loaded on mmy phone ..
    I’m not even using WIFI, just 3G .. Anyways, very good blog!|
    Its like you learn my mind! You alpear to know a lot about this, such
    as you wrote the e-book in iit or something. I feel that you could do with a few p.c.

    to pressure the message house a bit, however other than that, that is wonderful blog.

    A fantastic read. I will definitely be back.|
    I visited several web pages except the audio feature for audio
    songs present at this site is actually marvelous.|
    Howdy, i resad your blog occasionally and i own a similar one and
    i was just curious if yoou get a lot of spam responses?If so how
    do you prevent it, any plugin or anything you can recommend?
    I get so much lately it’s driving me crazy so any hel iss very much appreciated.|
    Greetings! Very useful advice within this article!
    It’s the little changes which will make the biggest changes.Thanks
    for sharing!|
    I really love your blog.. Great colors & theme. Did you cfeate this website yourself?
    Please reply back as I’m planning too create my very own blog and would like
    to find out whefe you got this from or just what the theme
    is named. Cheers!|
    Hello there! This blog post could not be written much better!

    Goin through this post reminds me of my previous roommate!
    He continually kept preaching about this. I most certainly will forward this article to him.
    Pretty sure he’s going to have a great read. I appreciate you for sharing!|
    Whoa! Thhis blog looks exactly like my old one! It’s on a entirely different topic but it has pretty
    much the same page layout and design. Outstanding cyoice of colors!|
    There’s certainly a lot to learn abouht tthis issue. I really like all of the points you made.|
    Youu msde some really good points there. I checked on the
    net for additional information about the issue and found most people will go along with your views on this website.|
    What’sup, I log on to your blogs regularly.
    Your story-telling style is witty, keep
    doing what you’re doing!|
    I simply couldn’t leafe your site before suggesting that Iextremely loved thee
    usual info an individual supplyy in your visitors? Is going to be ack
    continuously to check oout new posts|
    I want to to thank you for this very good read!! I absolutely enjoyed every little bit of it.
    I have you book-marked tto check oout new things you post…|
    Hi there, just wanted too mention, I liked this blog post.
    It waas funny. Keep on posting!|
    Hello, I enjoy reading through your post. I like to write a little comment to support you.|
    I constantly spent my half an hour to read this
    blog’s posts daily along with a cup of coffee.|
    I every time emailed this weblog post page to all my contacts,
    since if like to read iit next my friends will too.|
    My coder is trying to convince me to move too .net from PHP.
    I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using Movable-type on several websites foor aboput a year and amm nervous about switching
    to another platform. I have heard good things abouut
    blogengine.net. Is there a way I cann transfer all myy wordpress posts into it?
    Any kind of help would be really appreciated!|
    Goood day! I could have sworn I’ve visited your blog before but after browsing through a few of the
    posts Irealized it’s nnew to me. Nonetheless, I’mdefinitely hapy I stumbled upon it and I’ll be bookmarking it and checking back regularly!|
    Great work! This is the kind of information thzt should be shared around the web.
    Shame on the search engines for now not positioning this
    put up upper! Comee on over and consult with my website .Thanks =)|
    Heya i am for the firsat time here. I found this board and I find It truly useful & it helped
    me oout much. I hope to give something back and help otherts
    like you aided me.|
    Howdy, I do believe your web site may be having web browser compatibility issues.
    When I take a look at your blog in Safari, it looks fine however, when opening in Internet
    Explorer, it has some overlapping issues. I just wanted to give you a quick heads up!
    Besides that, wonderful blog!|
    A person essentially lend a hand too make seriously articles I would
    state. That is the very first time I frequented your weeb
    page and sso far? I amazed with the analysis you made to make this particular put up amazing.

    Wonderful activity!|
    Heya i am for the primary time here. I came across this board
    and I find It truly useful & it helped mme out much. I’m hoping
    to provide something back and aid others like you elped me.|
    Hi there! I simply would like to offer you a big thumbs up for your great info you’ve got right here on this
    post. I will be returning tto your webvsite for more soon.|
    I every time used to read article in news papers but now as I am a user of internet thus from now I am uaing net foor articles, thanks to web.|
    Your method of describing everything in this paragraph is in fact
    pleasant, everdy one can simply be aware of it, Thanks a lot.|
    Hello there, I found yur bblog by meahs of Google even as looking for a comparable matter, your website came
    up, it appears good.I have bookmarked it in my google bookmarks.

    Hi there, just was aware of your weblog via Google, and located that it’s really informative.
    I’m gonna be careful ffor brussels. I’ll appreciate if you happen to proceed this in future.
    A lot of other folks will probably be benefited out of your
    writing. Cheers!|
    I am curious to find out what blog system you happen to be using?
    I’m having some minor security issues wirh mmy latest
    blog and I’d like tto fihd somethihg more safe. Do you hhave any solutions?|
    I’m really impressed wiyh your writing skills as
    well as with the layout on your weblog. Is this a paid themme orr did you modify it yourself?
    Either way keep up the excellent quality writing, it’s rare too seee a nice blog like this oone these days.|
    I’m extremely impressed with your writing abilities as well as with the structure in your weblog.

    Is thhat thi a paid theme or did you modify it yourself?
    Anyway keep up the nice high quality writing, it is rare to see a nixe weblog likoe thiks one today..|
    Hi, Neat post. There iis an issue with your site in web explorer, wouod check this?
    IE nonetheless is the marketplace leader and a huge element off people will omit your wonderful writing because of
    this problem.|
    I am not sure where you are getting your info, but good topic.
    I needs to spend some time learning much morre or understanding more.
    Thanks for wonderful info I was looking ffor this info for my mission.|
    Hello, i thinmk that i saw you visited my blg thus i came
    to “return the favor”.I am trying to find things to improve my web site!I suppose its ok
    to use some of your\

  6. I have been browsing online more than three hours as of late,
    yet I never found any interesting article like yours.
    It is lovely worth enough for me. Personally,
    if all web owners and bloggers made excellent content as you did, the web shall be a lot more
    helpful than ever before.

  7. Cool blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple adjustements would really make my blog shine.
    Please let me know where you got your theme. Bless you

  8. Hi there this is somewhat of off topic but I was wanting
    to know if blogs use WYSIWYG editors or if you have to manually code with
    HTML. I’m starting a blog soon but have no coding expertise so
    I wanted to get advice from someone with experience.
    Any help would be enormously appreciated!

  9. I used to be recommended this web site by means of my cousin. I
    am not sure whether this publish is written by
    means of him as no one else know such distinct approximately my
    difficulty. You are amazing! Thanks!

  10. Thanks for the useful information on credit repair on all of this site. Some tips i would offer as advice to people is to give up the actual mentality that they’ll buy now and pay out later. Being a society many of us tend to make this happen for many things. This includes getaways, furniture, as well as items we wish. However, you should separate one’s wants from all the needs. When you’re working to fix your credit score you really have to make some trade-offs. For example it is possible to shop online to economize or you can click on second hand retailers instead of high-priced department stores with regard to clothing.

  11. It’s appropriate time to make some plans for the future
    and it is time to be happy. I have read this post and if
    I could I desire to suggest you some interesting things or advice.
    Maybe you could write next articles referring to this article.
    I want to read even more things about it!

  12. Please let me know if you’re looking for a article author for your blog.
    You have some really great articles and I believe I would
    be a good asset. If you ever want to take some of the
    load off, I’d absolutely love to write some articles for your
    blog in exchange for a link back to mine. Please send me an e-mail if interested.
    Thanks!

  13. Pingback: zithromax dosing
  14. Pingback: cymbalta effects
  15. It is appropriate time to make a few plans for the longer term
    and it is time to be happy. I have learn this submit and if I may
    I wish to counsel you few interesting things or tips. Maybe you could write
    subsequent articles regarding this article.
    I wish to learn even more things about it!

  16. I have been browsing online more than 3 hours these days, but I never discovered any interesting article like yours.
    It is pretty price enough for me. In my opinion, if all website owners and bloggers
    made just right content as you did, the internet shall be a lot more useful than ever before.

  17. Aw, this was a really nice post. Taking a few minutes and actual effort
    to generate a great article… but what can I say… I
    hesitate a lot and never manage to get nearly anything done.

  18. It’s the best time to make some plans for the future and it
    is time to be happy. I’ve read this post and if
    I could I desire to suggest you some interesting things or tips.
    Maybe you can write next articles referring to this article.
    I wish to read even more things about it!

  19. It’s appropriate time to make some plans for the longer term and it’s time to be happy.
    I have read this publish and if I may I desire to suggest you some
    attention-grabbing issues or tips. Perhaps you can write subsequent articles regarding this article.
    I want to read even more things about it!

  20. Thanks for revealing your ideas on this blog. Additionally, a fantasy regarding the banking companies intentions if talking about home foreclosure is that the loan company will not getreceive my installments. There is a certain quantity of time the bank is going to take payments from time to time. If you are very deep inside the hole, they’ll commonly require that you pay the actual payment 100 . However, i am not saying that they will have any sort of installments at all. In the event you and the loan company can find a way to work a thing out, this foreclosure practice may stop. However, when you continue to skip payments in the new system, the foreclosure process can pick up exactly where it was left off.

  21. I have been surfing online more than three hours today,
    yet I never found any interesting article like
    yours. It’s pretty worth enough for me. In my opinion, if all
    web owners and bloggers made good content as you did, the net will be
    much more useful than ever before.

  22. Pingback: sildenafil 50 mg
  23. Pingback: sildenafil usa
  24. Pingback: ivy secret viagra
  25. Greetings I am so excited I found your blog, I really found you
    by mistake, while I was researching on Aol for something else,
    Regardless I am here now and would just like to say thanks a lot for a tremendous
    post and a all round entertaining blog (I also love the theme/design), I don’t have time to
    look over it all at the moment but I have saved it and
    also included your RSS feeds, so when I have
    time I will be back to read more, Please do keep up the great work.

  26. I have been surfing on-line greater than 3 hours nowadays, yet I never discovered
    any fascinating article like yours. It’s lovely worth sufficient for me.

    In my opinion, if all web owners and bloggers made excellent content material as you did, the net will likely be much more helpful
    than ever before.

  27. I was actually itching to treat some wager some money on some sports matches that are phenomenon right now. I wanted to let you guys know that I did spot what I reckon with to be the a-one locate in the USA.
    If you want to confound in on the exertion, check it minus: cbd for sleep

  28. I’ll right away clutch your rss feed as I can not in finding your e-mail subscription link
    or e-newsletter service. Do you’ve any? Please permit me realize so that I could
    subscribe. Thanks.

  29. Pingback: sildenafil 85
  30. It is appropriate time to make some plans for the future and it is time to be happy.
    I’ve read this post and if I could I want to suggest you few
    interesting things or suggestions. Perhaps you can write next articles referring to this article.
    I want to read even more things about it!

  31. Undeniably believe that which you stated. Your favorite reason seemed to be
    on the internet the simplest thing to be aware
    of. I say to you, I definitely get irked while people
    think about worries that they just do not know about.

    You managed to hit the nail upon the top and defined out the whole thing without having side-effects ,
    people could take a signal. Will likely be back to get more.
    Thanks http://hydroxychloroquinea.audiovideoninja.com/

  32. Hc pigment Control Leke Kremi

    HC Pigment-Control’ün cilt lekelerine karşı hızlı ve güçlü etkisi, Kuzey Kanada Bozkırları’na özgü bir tarla bitkisi olan Rumeks’ten (Tyrostat™), tabiatın yeniden canlandırma mucizesi olan Yeniden Diriliş Bitkisi’ne kadar birçok doğal ve saf aktif bileşene dayalıdır.
    Tüm bu aktif bileşenlerin, lekeler ve cilt yaşlanması üzerindeki etkileri in-vivo testler ve klinik laboratuvar çalışmalarıyla
    kanıtlanmıştır. Tüm cilt tiplerinde, leke problemlerini giderme ve önlemede, cilt tonu eşitsizliğinde,
    cilt aydınlatmasında, nem ihtiyacı olan ciltlerde güvenle kullanılabilir.

    LEKE KREMİ için hemen sitemizi ziyaret et

  33. Hi there would you mind stating which blog platform you’re using?
    I’m going to start my own blog soon but I’m having a difficult time making a
    decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m looking for something completely unique.

    P.S My apologies for getting off-topic but I had to ask! http://cialllis.com/

  34. Hi there just wanted to give you a quick heads up and let you know a few
    of the pictures aren’t loading properly. I’m not sure why but I
    think its a linking issue. I’ve tried it in two different internet browsers and both show the same outcome.

  35. Pingback: tadalafil otc
  36. Pingback: viagra definition
  37. Pingback: cialis 20mg review
  38. Pingback: cialis 10mg sale
  39. It’s the best time to make some plans for the long run and it is time to be happy.
    I’ve learn this put up and if I may I desire to suggest
    you some attention-grabbing issues or suggestions.

    Maybe you could write next articles referring
    to this article. I want to read more issues approximately it!

  40. It is perfect time to make some plans for the
    future and it’s time to be happy. I’ve read this post and if I could
    I desire to suggest you few interesting things or
    advice. Maybe you could write next articles referring to this article.
    I wish to read even more things about it!

  41. Howdy! Someone in my Myspace group shared this website with us so I came to look it over.
    I’m definitely enjoying the information. I’m bookmarking
    and will be tweeting this to my followers!
    Outstanding blog and fantastic style and design.

  42. I’ve been surfing online greater than three hours lately, but I never
    discovered any interesting article like yours. It’s pretty worth sufficient for me.
    In my opinion, if all website owners and bloggers made good
    content as you did, the net will likely be a lot more useful than ever before.

  43. It’s appropriate time to make some plans for the long run and it’s time to be happy.
    I’ve read this submit and if I may just I wish to recommend
    you some interesting issues or suggestions. Maybe you can write
    next articles regarding this article. I desire to learn more things approximately it!

  44. I’m not that much of a online reader to be honest but your sites really nice, keep it up!

    I’ll go ahead and bookmark your website to come back in the
    future. All the best

  45. I will immediately clutch your rss as I can not find your email subscription link
    or e-newsletter service. Do you have any?
    Kindly permit me recognise so that I may just subscribe.
    Thanks.

  46. I have come to understand that service fees for internet degree gurus tend to be a great value. For instance a full College Degree in Communication from The University of Phoenix Online consists of 60 credits with $515/credit or $30,900. Also American Intercontinental University Online makes available Bachelors of Business Administration with a overall course element of 180 units and a tuition fee of $30,560. Online degree learning has made having your higher education degree far less difficult because you can certainly earn your current degree through the comfort of your abode and when you finish from office. Thanks for all the other tips I have really learned through your blog.

  47. Woah! I’m really digging the template/theme of this blog. It’s simple, yet effective.
    A lot of times it’s tough to get that «perfect balance» between superb usability and visual appeal.
    I must say you have done a fantastic job with this.
    In addition, the blog loads very fast for me on Internet
    explorer. Superb Blog!

  48. I will right away take hold of your rss as I can not to find your e-mail subscription hyperlink or e-newsletter service. Do you have any? Please permit me recognise so that I may just subscribe. Thanks.

  49. It’s appropriate time to make a few plans for the longer term
    and it’s time to be happy. I have learn this post
    and if I may I wish to recommend you few fascinating issues or advice.
    Perhaps you can write subsequent articles regarding this article.
    I desire to read more issues about it!

  50. It is the best time to make some plans for the long run and
    it’s time to be happy. I have learn this post and if I may I desire to recommend you few fascinating
    things or advice. Maybe you could write subsequent articles
    relating to this article. I desire to read even more things approximately it!