<span> The user's browser renders the html code as a visual web page. I think. Let me know if I git it wrong! :P</span>
Some of them do let you draw funds but not all debit cards
Answer:
TAX_RATE = 0.20
STANDART_DEDUCTION = 10000.0
DEPENDENT_DEDUCTION = 3000.0
gross_income = float(input("Enter the gross income: "))
number_of_dependents = int(input("Enter the number of dependents: "))
income = gross_income - STANDART_DEDUCTION - (DEPENDENT_DEDUCTION * number_of_dependents)
tax = income * TAX_RATE
print ("The income tax is $" + str(round(tax, 2)))
Explanation:
Define the <em>constants</em>
Ask user to enter the <em>gross income</em> and <em>number of dependents</em>
Calculate the <em>income</em> using formula (income = gross_income - STANDART_DEDUCTION - (DEPENDENT_DEDUCTION * number_of_dependents))
Calculate the <em>tax</em>
Print the <em>tax</em>
<em />
round(number, number of digits) -> This is the general usage of the <em>round</em> function in Python.
Since we need <u>two digits of precision</u>, we need to modify the program as str(<u>round(incomeTax, 2</u>)).
The correct answer is: DoD Instruction 6055.1 which is known as DoD Occupational Safety and Health
Program.
<span>In addition to meeting OSHA standards, the Department of Defense requires each military department, including the Department of the Army, to administer a comprehensive safety and occupational health program. The requirement appears in this document.</span>
Answer:
<em>This program is written using C++</em>
<em>Comments are used to explain difficult lines</em>
<em>Program starts here</em>
#include<iostream>
using namespace std;
int main()
{
//Declare variables
float BMI, Height,Weight;
// Prompt user for inputs
cout<<"Ener Height (in inches): ";
cin>>Height;
cout<<"Enter Weight (in pounds): ";
cin>>Weight;
//Calculate BMI
BMI = (Weight * 703)/(Height * Height);
cout<<"Your Body Mass Index (BMI) is "<<BMI<<endl;
//Test and print whether user is underweight, overweight or optimal
if(BMI>=18.5&&BMI<=25)
{
cout<<"You have an optimal weight";
}
else if(BMI<18.5)
{
cout<<"You are underweight";
}
else if(BMI>25)
{
cout<<"You are overweight";
}
return 0;
}
<em>See attachment for .cpp source file</em>