Copyleft Games

Intro to Genie: String Math

Genie is a relatively new language similar to Python but compiles to C. We use it because its easy to learn, works well with many of our libraries, and is not itself a runtime dependency. This beginner task is to build a basic familiarity with the language.

Using the documentation, our codebase as working examples, and other students for help - build a small Genie-based application which accepts two numbers as command-line arguments, multiplies them, prints the results as a string akin to "2 times 3 is 6", and exits.

Optional: print the results using only words (no numerals), eg, "two times three is six".

When you've done, upload your work to the task.

Task tags

  • genie

Students who completed this task

Tim Verhaegen

Task type

  • code Code