You could study some of the tutorial code in order to get a general idea on the structure of a program. It seems pretty simple. All you need is a main function and some code to take input from the console. Then you write the code for the equations, and print the results for each to the screen.