Write(‘Yashna, ‘); write(‘gulla ‘); write
Download 15.29 Kb.
|
4–misol. begin
write(‘Yashna, ‘); write(‘gulla ‘); write(‘ona Vatanim!‘); end.
begin
writeln(‘Yashna, ‘); writeln(‘gulla ‘); write(‘ona Vatanim!‘); end.
var a,b,c: integer; p,s: real; begin write(uchburchak tomonlari uzunliklarini kiriting: a,b,c=); readln(a,b,c); p:=(a+b+c)/2; s:=sqrt(p*(p-a)*(p-b)*(p-c)); writeln(‘S=’,s); readln; end.
Begin a:=4; a:=sqr(a); b:=b–a; s:=2*a+3*b; WriteLn(‘S= ‘,s); End.
Program Taqqoslash; Var a:Real; Begin Write(‘Ixtiyoriy son kiriting: ‘); ReadLn(a); If a>25 Then WriteLn(‘Katta‘) Else WriteLn(‘Katta emas‘); End.
Begin Write(‘Ixtiyoriy son kiriting: ‘); ReadLn(a); If a<0 Then b:= ‘manfiy‘ Else If a>0 Then b:= ‘musbat‘ Else b:= ‘nol‘; WriteLn(b); End.0> Download 15.29 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling