Assignment: Introduction to Programming Concepts
Consider the following income tax schedule:
Problem 1: Develop a Python program to calculate income tax as described in the above table. For this solution, nest the if-then logic. Do not use elif. Name your program XXXXXXA1P1.py, where XXXXXX are the first 6 letters of your last name.
Problem 2: Develop a Python program to calculate income tax as described in the above table. For this solution, use elif statements to implement the solution. Name your program XXXXXXA1P2.py, where XXXXXX are the first 6 letters of your last name.
See next page for further instructions:
Assignment Instructions:
Comment your code with meaningful comments, explaining what the line or block of code is doing.
Test each version of your code at least 6 times, once for each tax bracket for both single and married. Don't trust your code. Solve each case by hand to compare to your results before submitting.