#include<iostream>
using namespace std;
int main()
{
int *number=new int[1000];
int c=0;
int i=0;
cout<<"Enter no sir\n";
cin>>number[i];
while(number[i]>0)
{
number[i]/=10;
c++;
}
cout<<"\n\n"<<"TOTAL NO OF DIGITS = "<<c;
delete[]number;
return 0;
}
champu8 0 Newbie Poster
champu8 0 Newbie Poster
CBots 0 Newbie Poster
champu8 0 Newbie Poster
champu8 0 Newbie Poster
stereomatching 17 Posting Whiz in Training
stereomatching 17 Posting Whiz in Training
Fbody 682 Posting Maven Featured Poster
champu8 0 Newbie Poster
champu8 0 Newbie Poster
champu8 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.