

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Due : 11:59pm. Wednesday, January 28, 2009 Objective : Using IF statements to do selective execution of code. Coding scientific equations - Your program will get data from the user, perform computations dependent on input values and output results. Overview : You will be provided a Fortran shell with comments to lead you through the program’s development. The equations and process for decision making that you will use are provided below. You will write the code to prompt the user for the values of those variables. This prompting process is similar to the process used in lab2. Specific Instructions: Part I. Environment Setup.
In addition, a flat 1.5 percent Medicare levy is charged on all income. Write a program to calculate how much income tax a person owes based on this information. The program should accept a total income figure from the user and calculate the income tax, Medicare levy, and total tax payable by the individual. Use good programming practices in your program. You will need variables for:: income, Medicare tax, income tax, total tax, and what is left after the government has taken it's share. You can use IF THEN statements with compound logical expressions or you can use nested IF THEN ELSE statements.