• Lenguaje

    C

  • Descripción

    Mostrar los primeros 10 números positivos.

1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>
#include <stdlib.h>

int main (void)
{
    int i;
    for (i=1; i<=10; i++)
    {
        printf ("PROCESO %d\n", i);
        putchar ('\n');
    }
    return EXIT_SUCCESS;
}