O’rta maxsus
paskal dt dars
175*. Berilgan (X0,Y0) butun koordinatali nuqtani markazi butun koordinatali (X,Y) nuqtadagi R butun qiymatli radiusli doiraga tegishli yoki tegishli emasligini aniqlovchi dastur tuzing.
Indeks:=Getpixel(x0+abs(320-x),y0+abs(240-y)); Closegraph; Writeln(a[indeks]); readln; End. 176*. Berilgan (X0,Y0) butun koordinatali nuqtani markazi butun koordinatali (X,Y) nuqtadagi XR va YR radiuslari butun qiymatli bo‘lgan ellipsga tegishli yoki tegishli emasligini aniqlovchi dastur tuzing. 177*. Berilgan (X0,Y0) butun koordinatali nuqtani yuqori chap uchi butun koordinatali (X,Y) nuqtada va tomonlari koordinata o‘qlariga parallel, uzunligi esa natural sonli qiymatli A bo‘lgan kvadratga tegishli yoki tegishli emasligini aniqlovchi dastur tuzing. 178*. Berilgan (X0,Y0) butun koordinatali nuqtani yuqori chap uchi butun koordinatali (X,Y) nuqtada va tomonlari tomonlari koordinata o‘qlariga parallel, uzunliklari, mos ravishda, natural sonli qiymatli A va B bo‘lgan to‘g‘ri to‘rtburchakka tegishli yoki tegishli emasligini aniqlovchi dastur tuzing. 179*. Berilgan (X0,Y0) butun koordinatali nuqtani uchlari butun koordinatali (X1,Y1), (X2,Y2), (X3,Y3), (X4,Y4) nuqtalarda bo‘lgan to‘rtburchakka tegishli yoki tegishli emasligini aniqlovchi dastur tuzing. 180*. Ekranda 7 marta yonib-o‘chadigan aylana chizing.
Delay(65000); Delay(65000); Delay(65000); Delay(65000); Delay(65000); Circle(320,240,100);OuttextXY(316,236,'1'); Delay(65000); Delay(65000); Delay(65000);Delay(65000);Delay(65000); ClearDevice; Delay(65000); Delay(65000); Delay(65000);Delay(65000);Delay(65000); Circle(320,240,100);OuttextXY(316,236,'2'); Delay(65000); Delay(65000); Delay(65000); ClearDevice; Delay(65000); Delay(65000); Delay(65000);Delay(65000); Delay(65000); Circle(320,240,100);OuttextXY(316,236,'3'); Delay(65000); Delay(65000); Delay(65000); ClearDevice; Delay(65000); Delay(65000); Delay(65000);Delay(65000); Delay(65000); Circle(320,240,100);OuttextXY(316,236,'4'); Delay(65000); Delay(65000); Delay(65000); ClearDevice; Delay(65000); Delay(65000); Delay(65000);Delay(65000); Delay(65000); Circle(320,240,100);OuttextXY(316,236,'5'); Delay(65000); Delay(65000); Delay(65000); ClearDevice; Delay(65000); Delay(65000); Delay(65000);Delay(65000); Delay(65000); Circle(320,240,100);OuttextXY(316,236,'6'); Delay(65000); Delay(65000); Delay(65000); ClearDevice; Delay(65000); Delay(65000); Delay(65000);Delay(65000); Delay(65000); Circle(320,240,100);OuttextXY(316,236,'7'); Delay(65000); Delay(65000); Delay(65000); ClearDevice; OuttextXY(300,236,'TAMOM'); Delay(65000); Delay(65000); Delay(65000);Delay(65000); Delay(65000); Delay(65000); Delay(65000); Delay(65000);Delay(65000); Delay(65000); Closegraph; End. 181*. Svetofor chiroqlarini qizil, sariq, yashil ketma-ketlikda yondiradigan dastur tuzing (yo‘llanma: avvalgi masala yechimidan foydalaning). Download 2,24 Mb. Do'stlaringiz bilan baham: Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024 ma'muriyatiga murojaat qiling |
kiriting | ro'yxatdan o'tish Bosh sahifa юртда тантана Боғда битган Бугун юртда Эшитганлар жилманглар Эшитмадим деманглар битган бодомлар Yangiariq tumani qitish marakazi Raqamli texnologiyalar ilishida muhokamadan tasdiqqa tavsiya tavsiya etilgan iqtisodiyot kafedrasi steiermarkischen landesregierung asarlaringizni yuboring o'zingizning asarlaringizni Iltimos faqat faqat o'zingizning steierm rkischen landesregierung fachabteilung rkischen landesregierung hamshira loyihasi loyihasi mavsum faolyatining oqibatlari asosiy adabiyotlar fakulteti ahborot ahborot havfsizligi havfsizligi kafedrasi fanidan bo’yicha fakulteti iqtisodiyot boshqaruv fakulteti chiqarishda boshqaruv ishlab chiqarishda iqtisodiyot fakultet multiservis tarmoqlari fanidan asosiy Uzbek fanidan mavzulari potok asosidagi multiservis 'aliyyil a'ziym billahil 'aliyyil illaa billahil quvvata illaa falah' deganida Kompyuter savodxonligi bo’yicha mustaqil 'alal falah' Hayya 'alal 'alas soloh Hayya 'alas mavsum boyicha yuklab olish |