// Program to print the number "x" on screen, 10 times in pure D
import std.stdio;
void main() {
for (int x = 1; x < 11; x = x + 1) {
writeln(x);
/* prints the number "x" on screen 10 times
such as:
1
2
3
...
*/
}
write("\nDone!");
}
To embed this project on your website, copy the following code and paste it into your website's HTML: