Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
238 B
2
Indexable
#include <iostream>

using namespace std;

int main()
{
    int A, tempA;
    int count = 0;
    cin >> A;
    tempA = A;


    while (tempA > 0) {
        tempA /= 10;
        count += 1;
    }
    cout << count;
}