Răspunsuri

2014-11-19T19:40:58+02:00
#include <iostream>
using namespace std;
int main(){
int x,y=0;
cin>>x;
while(x!=0){y=y+1;
x=x/10;}
cout<<"Numarul de cifre ="<<y;
return 0;}