Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
262 B
1
Indexable
Never

#include <iostream>
using namespace std;


int main()
{
    
    int n;
    int cum = 0;
    cin >> n;
    while (n > 0) {
        n % 10;
        n /= 10;
        cum = cum +1;
    }
    cout << cum;
    
  
    
   


    
   }