C primer dígito de entero
int x = 123;
while (x >= 10)
{
x = x / 10;
}
sudoCompetence
int x = 123;
while (x >= 10)
{
x = x / 10;
}