Skip to content

Python program that simulates an income statement, using the information provided by the client.

Notifications You must be signed in to change notification settings

limorko/IncomeStatementSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Income-Statement-Simulator

This is a semester project written in Python for the Intro to Computer Science college course. My program displays a condensed income statement after the user inputs the business' information such as business' name, revenues, expenses and the period of time the financial statement should refer to.

Instructions

  • “Home Page” -- > click on the blue button to get started
  • Type in your “company’s name” and press return to proceed For your company’s name, any name will be accepted as long as it’s at least one character long (if you don’t type anything it won’t let you proceed to the next page).
  • Choose the length of your accounting period (valid: month, year or quarter) and type it in, then press return to proceed
  • Choose the date your accounting period ends: o Type in the month (valid: January, february, ..., december), then press return to proceed o Type in the day (1, 15, 30, ...), then press return to proceed *Invalid: 0 or any number greater than 31 o Type in the year (2001, 2020, up to 2021 included), then press return to proceed *Invalid: any year smaller than 1800 or greater than 2021 *Invalid: any non existing date (ex. April 31, november 31)
  • Type in the total Revenues & Gains you want to state on your Income Statement, then press return to proceed You can type an answer with or without commas (ex. 2000 or 2,000) *Invalid: any answer that has commas and they are in the wrong positions (ex. 2,33,4000 ; 100,3,40 ...)
  • Type in the total Expenses & Losses you want to state on your Income Statement, then press return to proceed You can type an answer with or without commas (ex. 2000 or 2,000) Invalid: any answer that has commas and they are in the wrong positions (ex. 2,33,4000 ; 100,3,40 ...) Note: whenever you type in an invalid answer or you don’t type anything at all, you will get an error message and you will be prompted again. After you will have inserted an acceptable answer you will be able to proceed to the next page.
  • You have now arrived to the final display of your Income Statement - If you want to start again click on the button “Click here to start over”

Output Examples

Screenshot 2021-09-10 at 17 20 34

Screenshot 2021-09-10 at 17 45 34

Screenshot 2021-09-10 at 17 22 23

About

Python program that simulates an income statement, using the information provided by the client.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages