Jump to content

Recommended Posts

  • Moderators
Posted
int eliminare_ultima_cifra(int numar) {
    int contor = 0;
    while(numar > 9) {
        numar -= 10;
        contor++;
    }
    return contor;
}

Ceva de genu' cred.

  • Upvote 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.