Untitled

Anonymous
plain_text
11/15/2023 7:51 PM
220 B
22
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