You can use a for loop to count from zero to nine.
1. [ VB ] Output 0 1 2 3 4 5 6 7 8 9
1. [ Python ] Output 0 1 2 3 4 5 6 7 8 9
1. [ C++ ] Output 0 1 2 3 4 5 6 7 8 9
1. [ Java ] Output 0 1 2 3 4 5 6 7 8 9
The for loop can be used to run through a sequence of
integers.
test text
1. [ C# ] Output 0 1 2 3 4 5 6 7 8 9
The for loop can be used to run through a sequence of
integers.
test text
1. [ Perl ] Output 0 1 2 3 4 5 6 7 8 9
A more perlish solution:
for (0..9){
print "$_\n";
}
test text
1. [ Ruby ] Output 0 1 2 3 4 5 6 7 8 9