Reconstruct previous program to have as result:
Numbers with sum of digits 1: 1 10 100 1000 10000
Count: 5
Numbers with sum of digits = 2:2 11 20 101 110 200 1001 1010 1100 2000
Count: 10
Numbers with sum of digits = 3:3 12 21 30 102 111 120 201 210 300 1002 1011 1020 1101 1110 1200 2001 2010 2100 3000
Count: 20
Numbers with sum of digits = 4: 4 13 22 31 40 103 112 121 130 202 211 220 301 310 400 1003 1012 1021 1030 1102 1111 1120 1201 1210 1300 2002 2011 2020 2101 2110 2200 3001 3010 3100 4000
Count: 35
Answers
Answered by
0
Answer:
thanks so great experience for me please let me know if you need any help
Similar questions