Untitled

Anonymous
Plain Text
10/19/2023 3:13 PM
200 B
31
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;
}
Editor is loading...