Untitled
unknown
c_cpp
2 years ago
181 B
3
Indexable
#include <iostream> using namespace std; int main() { int n; cin >> n; int temp = 0; int count = 0; while (temp > 0) { temp / 10; count++; } cout << count; }
Editor is loading...
#include <iostream> using namespace std; int main() { int n; cin >> n; int temp = 0; int count = 0; while (temp > 0) { temp / 10; count++; } cout << count; }