xxxxxxxxxx
// C++ implementation count the
// number of digits in a number
#include <bits/stdc++.h>
using namespace std;
// Function to count the
// number of digits in a number
int countDigit(long long n)
{
return floor(log10(n) + 1);
}
// Driver Code
int main()
{
double N = 80;
cout << countDigit(N);
return 0;
}