How many tmes does no 2 come in 1 to 100
Answers
Answered by
0
Answer:
2
12
22
23
24
25
26
27
28
29
20
32
42
52
62
72
82
92
Step-by-step explanation:
total 18 times
Answered by
0
Count the number of 2s as digit in all numbers from 0 to n. Examples : Input : 22 Output : 6 Explanation: Total 2s that appear as digit from 0 to 22 are (2, 12, 20, 21, 22); Input : 100 Output : 20 Explanation: total 2's comes between 0 to 100 are (2, 12, 20, 21, 22..29, 32, 42, 52, 62, 72, 82, 92);Apr 18, 2020
Similar questions