Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/perl -w
- #print 'hello world!!\n';
- $n1=24;
- $n2 =10;
- #$sum=$n1+$n2;
- #print "$n1+$n2"; # typwnei tis metavlhtes kai to
- #print '$n1+$n2'; #typwnei $n1+$n2
- $sum=$n1++; auto tha ektelestei ws h telikh tropopoihsh se ayth thn entolh
- $sum=++$n1; #prwta tropopoihse to n1 kai meta apoyhikeuse
- print $sum;
- #!/usr/bin/perl -w
- $i=1;
- $i++;
- $i*=$i; #$i=$i*$i
- $i.=$i; #$i=$i.i=44
- $i=$i/11; #4
- $i=$i." score and".$i++; 4 score and 4
- print $i;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement