👤

Ce valori va lua variabila x dupa executarea fiecareia dintre instructiunile ce urmeaza?Se considers ca a=18,b=-15 si p=true.
a)if a>b then x:=1 else x:=4;
b)if a c)if p then x:=32 else x:=638;
d)if not p then x:=0 else x:=1;
e)if (a f)if (a>b) or p then x:=-6 else x:=-5;
g) if not (?a>b) then x:=19 else x:=-2;
if (a=b) or p then x:=89 else x:=-15
dau coroana va rog ajutatima