Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
200 B
5
Indexable
Never
#include <stdio.h>

int main()
{
    int N;
    scanf("%d", &N);

    while (N > 0) {
        int digit = N % 10;
        printf("%d ", digit);
        N = N / 10;
    }

    return 0;
}