1#
2# Copyright(C) 1998
3# All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
4#
5# Permission from use, copy, modify, and distribute this
6# software and its documentation for EDUCATIONAL purposes
7# and without fee is hereby granted provided that this
8# copyright notice appears in all copies.
9#
10# date : January 1, 1998.
11# author : Salih Yurttas.
12#
13# d_01.pl
14#
15
16
17$a = 0;
18
19if($a == 2) {
20 print "a = ", $a;
21 print "\n";
22}
23else {
24 $a += 2;
25}
26
27if($a == 2) {
28 print "a = ", $a;
29 print "\n";
30 $a -= 1;
31}
32
33if($a >= 2) {
34 print "a = ", $a;
35 print "\n";
36}
37else {
38 $a += 2;
39 print "a = ", $a;
40 print "\n";
41}