1. Tashkiliy operator va uning


Download 67.5 Kb.
bet4/4
Sana26.01.2023
Hajmi67.5 Kb.
#1124537
1   2   3   4
Bog'liq
1352455565 33877

else
begin
y:a*sin(a);
z:Sqr(y)*y;
`:tan(yz);
writeln(z)
end;

Ko`pgina operatorlar kabi, shartli operator ham rekursivlik xossasiga ega yahni, shartli operator ichida yana shartli operator qatnashishi mumkin. Lekin, chala shartli operatorning ichida yana shartli operator yozishda ehtiyot bo`lmoq zarur, chunki yozilgan operatorni ikki xil ma`noda tushunish mumkin:


if B1 then if B2 then S1 else S2


bu operator quyidagicha tushunilishi mumkin:


1) if B1 then begin if B2 then S1 else S2 end



  1. if B1 then begin if B2 then S1 end else S2

Download 67.5 Kb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling