// Program to print the number "x" on screen, 10 times in pure C

#include <stdio.h>
void main() {
int x;
for (x = 1; x < 11; ++x) {
    printf("%d \n", x);
    /* prints the number "x" on screen 10 times
    such as:
    1
    2
    3
    ...
    */
    }
    printf("\nDone!");
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: