Untitled
user_0563559
c_cpp
2 years ago
218 B
3
Indexable
#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); }
Editor is loading...
Leave a Comment