Untitled

 avatar
user_0563559
c_cpp
7 months ago
218 B
1
Indexable
Never
#include <iostream>
using namespace std;


int schet(int a) {
	int sum = 0;

	while (a != 0) {
		a /= 10;
		sum++;
	}
	cout << sum;
	return a;
}


int main()
{
	int a;

	cin >> a;

	schet(a);

}
Leave a Comment