Parse scientific names

The scientific name of a species has two components: genus, and species. For example, the blue whale is balaenoptera musculus.

Write a program to parse a scientific name, and break it into separate components. For example, start with this:

Start

Run, and get this:

End

The usual coding standards apply.

Upload your solution.

(If you were logged in as a student, you could submit an exercise solution, and get some feedback.)

Referenced in: