Generating General Journal Programatically

HI there. I am a student of Computer Sciences and in Financial Accounting class, we are asked to generate an application which generates general journal, ledger, trial balance, income statement, and Balance sheet. How am I supposed to start that in Android/Java/C#? can anyone suggest me some tutorial or any idea to get started? Any Help would be really appreciated. THanks