Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
165 B
1
Indexable
Never
#include <iostream>
using namespace std;
int countsOfdigits(int a) {
	int count = 0;
	while (a) {
		a /= 10;
		count++;
	}
	cout << count;
	return count;
}
Leave a Comment