jeudi 1 juillet 2021

How do I store each digit of a long number in its own variable using only for, if, if else, do while, and do, in C? [closed]

This is what I've come up with so far, everything else I try isn't working.

int main(void)

{
    long number;
    do
    {
        number = get_long("Number: ");
    }
    while(number < 0);
    
    
}



Aucun commentaire:

Enregistrer un commentaire