Bu tip deyimler bir kümenin belli bir koşul altında yinelenmesi için kullanılır. while, do…while ve for olmak üzere üç tip döngü deyimi vardır. C de diğer programlama dillerinde olduğu gibi, bu deyimlerle istenildiği kadar iç-içe döngü yapısı kullanılabilir. Kadırga Teknik ve Endüstri Meslek Lisesi
while
Ascott Huai Hai Road Shanghai offers a savvy alternative for hotel rooms with luxurious contemporary apartments set in an enviable city location. Visitors at this Shanghai property places guests less than three kilometres from Shanghai International Conference Center. Tourists should not miss a trip to must-see walking sites like Old French Concession, Taikang Road, Zhongshan […]
With iconic architecture, enviable location and top-notch accommodations, Marina Bay Sands Singapore Hotel is a local landmark that makes for an ideal urban retreat while in Singapore. This luxurious integrated resort boasts of the ArtScience Museum, Marina Bay Sands Casino, boutique stores at The Shoppes and the famous Sands SkyPark and Infinity Pool. Tourists shop […]
Description Being an oasis of relaxation, this property offers a pleasant ambience, high standards of comfort and convenient facilities for business as well as leisure travellers. Location Situated in the heart of Montseny, the El Montanya Resort & Spa Seva is close to the natural park and 15 kilometres from Vic, while Barcelona City is […]
Description Whether you come to Athens for business or pleasure, this property offers a friendly atmosphere and makes your stay a pleasant one. Location Situated on Omonia Square, the Grand O Hotel Athens is in the heart of the city’s business district as well as close to the City Hall, Psirri’s trendy bars and art […]
Description Whether you are touring the nearby museums and attractions or conducting business in the excellent facilities, the Pulitzer A Luxury Collection Hotel is the ideal place to stay while in Amsterdam. Location Overlooking two of the city’s most picturesque canals, Prinsengracht and Keizersgracht the hotel is located in the middle of the old city […]
//while kullanarak 2 yi 1000 kere çarpıp sonucu ekrana yazdırır – SDRL #include<stdio.h> int main(){ int carpim=2; while(carpim<=1000) carpim=2*carpim; printf(“Carpim Sonuc : %d”,carpim); getchar(); }//main..
//Yazılan Sayıyı Bulma Oyun v.1.0 Producer SDRL #include <stdio.h> #include <stdlib.h> main(){ int gizliSayi=0,arkSayi=0,sayac=1; printf("Arkadasinizin Goremiyecegi Sekilde 'saklayarak'\nBir Sayi Girin : "); scanf("%d",&gizliSayi); printf("\n\n\n"); getchar(); system("pause"); system("cls"); while(sayac<=100){ printf("Arkadasinizin Girdigi Sayiyi Tahmin Edin : "); scanf("%d",&arkSayi); if(gizliSayi==arkSayi) printf("\n\n\n\n\tTebrikler Dogru Bildiniz…\a\a\a",sayac=100); if(arkSayigizliSayi) printf("Yanlis 'Arkadasinizin Sayisi Daha Kucuk Tekrar Tahmin Edin…'\n\n\n"); sayac=sayac+1; }//while bitti.. getchar(); getchar(); }//main […]
Son yorumlar