Monday, December 24, 2012
Perl 의 for 문
for ($index = 0; $index <= 100; $index++) { if ($index % 10 == 0) { print("$index "); } }
결과는 다음과 같음
0 10 20 30 40 50 60 70 80 90 100
The Binary Arithmetic Operators
The for statement
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment