Untitled

Anonymous
plain_text
10/15/2023 9:35 AM
240 B
26
Indexable
#include <iostream>
using namespace std;
int main()
{
int a;
cin >> a;
int temp = a;
int count = 0;

 while (temp > 0){
	 temp /= 10;
	 count++;
}
  cout << count;
}
Editor is loading...