Back To C++ Loops Index
continue statement results in termination of running iteration
//program to input a number and count number of digits in the number #include
#include
void main() { clrscr(); int num,digit; int count=0; cout<<"\nenter the number "; cin>>num; do { digit=num%10; num=num/10; count++; }while(num!=0); cout<<"the number of digits in the number are "<