generated from mwc/problemset_numberwords
I have reached checkpoint one
I think I have a good plan in place but I am unsure how it will go when I actually get into it.
This commit is contained in:
parent
fa68a1a0ce
commit
725117fbc8
|
@ -37,15 +37,18 @@ return digit_names[number]
|
|||
## Integers under 20
|
||||
If the integer is under 10, then use the procedure described above.
|
||||
Otherwise, ... (this is where you take over!)
|
||||
10, 11, 12, 13, 14, 15, 16, 17, 18, 19 all need similar to under 10
|
||||
|
||||
## Integers under 100
|
||||
|
||||
first digit 2-9 define then second digit under 10
|
||||
|
||||
## Integers under 1000
|
||||
|
||||
1st digit 1 thousand 2 thousand, etc
|
||||
2nd digit 1 hundred 2 hundred, etc
|
||||
3rd digit under 100
|
||||
|
||||
## Integers under 1000000
|
||||
|
||||
keep doing same pattern to get to more digits in sets of 9
|
||||
|
||||
## Negative integers down to -1 million
|
||||
We won't deal with negative integers in this problem set,
|
||||
|
|
Loading…
Reference in New Issue