Question #278333

An algorithm and draw flowchart to count the number of digit in an integer given by the user

Expert's answer

Declare variable v and count; //count variable is used for counting
Read number v; 
while(v not equal 0)
   v=v/10; 
    count =count+1;
end
display count;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS