Computer Science, asked by yogeshlal010, 1 month ago

Some numbers are formed with closed
paths. The digits 0, 4, 6 and 9 each have
1 closed path, and 8 has 2. None of the
other numbers is formed with a closed
path. Given a number, determine the
total number of closed paths in all of its
digits combined.​

Answers

Answered by milirawka06
0

Answer:

p.followme

Explanation:

None of the other numbers is formed with a closed path. Given a number, determine the total number of closed paths in all of its digits combined. Example number = 649578 The digits with closed paths are 6, 4, 9 and 8. The total number of closed paths is 1 + 1 + 1 + 2 = 5.

Similar questions