@Official_AKT Telegram kanali
16.3__
17-BILET
17.1. MS Access 2010 dasturida min va tan funksiyalaridan foydalanishni tushuntirib
bering.
min – statistik funksiya
Ustundagi eng kichik qiymatni topadi.
tan – matematik funksiya
Sonni tangensini hisoblaydi.
17.2__
17-3. Delphi dasturlash muhitida doira yuzini hisoblaydigan ilova yarating
Bitta edit, 2ta label va 1ta button o‟rnatib, buttonning prosedurasiga quyidagini yozamiz:
procedure TForm1.Button1Click(Sender: TObject);
var r:integer; s:real; begin
r:=strtoint(edit1.Text);
s=pi*r*r;
label2.Caption:=‟S=‟+floattostr(s); end;
Do'stlaringiz bilan baham: