CODING
_WEDNESDAYS

You can check out our solutions in GitHub.

Lhedzv

hernandezmarquina

darkhelios

ramonramirezz

javiersalazar93

  • Luis Hernández

  • Jonathan Hernández

  • Tomas Ibarra

  • Ramón Ramirez

  • Javier Salazar

Today's Exercise

CodeEval Challenge number:

/104

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"

zero;two;five;seven;eight;four
three;seven;eight;nine;two
Your program should accept as its first argument a path to a filename. Each line in this file is one test case. 
Input Sample:
Print numbers in the following way:
Output Sample:
025784
37892

 Bonus Exercise

CodeEval Challenge number:

/8

Description

Write a program which reverses the words in an input sentence.
Hello World
Hello CodeEval
The first argument is a file that contains multiple sentences, one per line. Empty lines are also possible.
Input Sample:
Print to stdout each sentence with the reversed words in it, one per line. Ignore empty lines.
Output Sample:
World Hello
CodeEval Hello
Thanks For coming!

CODING_WEDNESDAYS!

Coding_Wednesdays 08.04.15

By Luis Hernandez

Coding_Wednesdays 08.04.15

  • 533