Question: Using a flowchart design an algorithm that reads in a positive decimal integer (i.e. a whole number, base 10) and counts the number of digits.
Using a flowchart design an algorithm that reads in a positive decimal integer (i.e. a whole number, base 10) and counts the number of digits. E.g. 845 (eight hundred and forty five) has three digits 8, 4 and 5 so the algorithm should return a count of three
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
