C++

profileAbdull2004

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  

    • 8 years ago
    • 30
    Answer(2)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      main.cpp
    • attachment
      README.txt

    Purchase the answer to view it

    blurred-text
    NOT RATED