Skip to content

Latest commit

 

History

History

104-word-to-digit

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Word to Digit

Challenge Description:

Having a string representation of a set of numbers you need to print this numbers.

All numbers are separated by semicolon. There are up to 20 numbers in one line. The numbers are "zero" to "nine"

Input sample:

Your program should accept as its first argument a path to a filename.
Each line in this file is one test case. E.g.

zero;two;five;seven;eight;four
three;seven;eight;nine;two

Output sample:

Print numbers in the following way:

025784
37892