I need count how many possible numbers

1 from 1 to 9

2 from 11 to 99 (without odd number, and similar number I mean do repeat the number like 22,33,44....)

3 from 111 to 999 (without even number, and similar number I mean do repeat the number like 111, 363,333.....)

4 from 1111 to 9999 (without odd number, and similar number I mean do repeat the number)

5 from 11111 to 99999 (without even number, and similar number I mean do repeat the number)

output should be like this

1=9

2=32

3=.......I don't know how many

4=.......I don't know how many

5=.......I don't know how many

Language: C++

No Files Attached

Budget: 30 USD

Due: 7 months ago