..Use a loop to write all numbers between 1 and 10.. Using the C for loop like you did, included 1 and 10. I thought the question says numbers BETWEEN?
If they are included, well and good but if not, you might have to write for (my $j = 2; $j < 10; $j++){...} OR better print $_,$/ for 2 .. 9
In reply to Re: SIMPLE way to write these?
by 2teez
in thread SIMPLE way to write these?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |