Question: Assignments > Lab 5 Lab 5 Hide Assignment Information Instructions Instructions: Open the terminal and using vi / vim create a new script and name
Assignments Lab
Lab
Hide Assignment Information
Instructions
Instructions:
Open the terminal and using vivim create a new script and name it labtxt
In this lab you will create a script to figure out the Federal tax rate of an individual based on the income.
Create a function displayTaxRate that will:
Ask the user to enter the income and store it in a variable named income.
Using an ifelif statement, read the value of the variable income and display the corresponding tax rate for single individual according to the following table:
Income
Tax
Rate
$ to $
$ to
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
