if (Condition 1)
x = a;
else
x = b;
if (Condition 2)
y = x + 1;
else
y = x – 1;
1 2
1( 1 2 )
2( 1 2 )
1 2
x = a;
y = x + 1;
and
x = b;
y = x – 1;
: (1)x=a
y=x-1; (2)x=b y=x+1 2 3( 1
2 ) 4( 1 2 )
- 3 45 Pascal
6
if (Condition 1)
x = a;
else
x = b;
if (Condition 2)
y = x + 1;
else
y = x – 1;
1 2
1( 1 2 )
2( 1 2 )
1 2
x = a;
y = x + 1;
and
x = b;
y = x – 1;
: (1)x=a
y=x-1; (2)x=b y=x+1 2 3( 1
2 ) 4( 1 2 )