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>)).
Answer:
#include <iostream>
#include<string.h>
using namespace std;
void printCharacter(string name){
for(int i=0;name[i]!='\0';i++){
cout<<name[i]<<endl;
}
}
int main()
{
string name;
cout<<"enter the name: ";
cin>>name;
printCharacter(name);
}
Explanation:
first include the two libraries iostream for input/output and string library for using the string.
then, create the main function and declare the variable type string.
cout instruction is used o display the message on the screen.
cin is used to store the value in the name variable.
after that, call the function. The program control move to the the function. In the function for loop is used to print the character one by one until end of the name.
I believe the answer to be A) because distance with the time it took to to reach the distance would determine how speed is to be calculated.
<u>Rise of Twitter:</u>
On every sport telecast ESPN create a twitter accountants raise a sport questions related to sport telecasted. Base of sport interested person answer queries or questions so automatically incorporated to sport center
<u>Cable subscriptions:</u>
Since ESPN been telecasted through air with customer login with minimum subscription fees so end user easily login n watch the match online and live telecast. Moreover end user can watch old or missed match from archive library on its own time.
ESPN is subscription channel are also available as bundle option in hot star amazon prime video.
<u>ESPN upgrade</u>:
ESPN telecast match on season basic such as football, cricket extra. ESPN very frequently upgrade the match schedule and old archives. Sports person interviews n performance of software also is upgraded to end users.
Answer:
One-to-one is the answer because there is one project and one employee working on one project.