/* Marc Álvaro Yoldi 22432089 */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main (void) {

    int x, x1, x2, x3, aux;
    printf ("Introdueix nombres de tres xifres \n");

        scanf ("%d", &x);
        x1 = x/100;
        aux = x- x1 *100;
        x2 = aux / 10;
        x3 = aux -x2*10;
        printf ("%d, %d, %d", x1, x2, x3);

    return 0;
}

Embed on website

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