You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PROGRAM
TYPES
TArrayBool: ARRAY boolean[5]
VARIABLES
lista: TArrayBool;
x: int;
y: int
Programa Principal
{
x = 6;
y = 2;
lista[0] = ( x == y );
lista[1] = ( x < y );
lista[2] = ( x > y );
lista[3] = ( x != y );
read lista[4];
write lista[0];
write lista[1];
write lista[2];
write lista[3];
write lista[4]
}
The text was updated successfully, but these errors were encountered:
Probad este ejemplo "super-sencillo"
PROGRAM
TYPES
TArrayBool: ARRAY boolean[5]
VARIABLES
lista: TArrayBool;
x: int;
y: int
Programa Principal
{
x = 6;
y = 2;
lista[0] = ( x == y );
lista[1] = ( x < y );
lista[2] = ( x > y );
lista[3] = ( x != y );
read lista[4];
write lista[0];
write lista[1];
write lista[2];
write lista[3];
write lista[4]
}
The text was updated successfully, but these errors were encountered: