Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 638 Bytes

File metadata and controls

31 lines (24 loc) · 638 Bytes

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