Answer to Question #278333 in C++ for Nemomsa

Question #278333

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

1
Expert's answer
2021-12-11T01:57:19-0500
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!

Comments

No comments. Be the first!

Leave a comment