Untitled
unknown
plain_text
2 years ago
165 B
5
Indexable
#include <iostream>
using namespace std;
int countsOfdigits(int a) {
int count = 0;
while (a) {
a /= 10;
count++;
}
cout << count;
return count;
}Editor is loading...
Leave a Comment