Creating a flow chart in python?
Instructions
Getting Started with Documenting your Program
This assignment will assess your basic knowledge and use of flowcharts. While there are a number of different symbols to support building a flowchart, use the attached basic flowchart symbols.
Create a FLOWCHART for each problem below!
Use the information below to solve each problem using flowchart symbols to illustrate how you would complete your program. You may use Microsoft PowerPoint® or Microsoft Word ® for your flowchart.
- Problem 1: Build a flowchart to solve a simple payroll calculation. Calculate the amount of pay, given/inputs hours worked, and hourly rate. (The formula to calculate payroll is pay = hourly rate * hours worked.) Display/outputs hourly rate, hours worked, and pay. ( Do not add any feature such as overtime, bonus, taxes, insurance, … )
- Problem 2: Build a flowchart that will calculate the average miles per gallon obtained on a trip. Given/inputs the amount of gas used and the number of miles driven. (The formula to calculate miles per gallon is miles per gallon = number of miles driven / amount of gas used. ) Display/outputs gas used, miles driven and MPG.
- Use your own values to test the flow. The values should not be part of the flowchart. The flowchart is a blue print for any programming language and for a wide range of input values.
Leave a Reply
Want to join the discussion?Feel free to contribute!