Untitled
unknown
plain_text
a year ago
208 B
10
Indexable
#include <iostream> using namespace std; int b(int a) { int i = 1; while ((a /= 10) > 0) { i++; } return i; } int main() { int a; cin >> a; cout << b(a); }
Editor is loading...
Leave a Comment