Похожие чаты

I want get size a number in c++ how do it? an

integer number

5 ответов

6 просмотров

Explain yourself better

Ali- Автор вопроса
Пользователь 61653
Explain yourself better

app get a number and i want calculate count digits of number c++ have a function that do it??

Ali
app get a number and i want calculate count digit...

There are plenty of examples https://www.ecosia.org/search?q=Count+digits+in+integer+C

Ali
app get a number and i want calculate count digit...

you can make a loop and in each iteration take a modulo from division by 10 (to get a digit) and divide the value by 10.

Похожие вопросы

Обсуждают сегодня

Карта сайта