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>)).
Clocks maybe is the answer. I really don’t know
I think it’s what the other person said
Answer:
a. Edit a Profile to "Enable Chatter" for the subset of users.
b. Create a Permission Set with the "Enable Chatter" permission for the subset of users
Explanation:
There are two ways to limit Chatter access during roll-out to a subset of Sales force users
- through user profiles
- through permission sets
"Enable Chatter" permission is added to the user profiles and permission sets during Chatter profile based roll-out.
a.
- The system Administrator has to log in as Sales force administrator to perform this action.
- Then select Profiles from Setup.
- Click on Edit for the custom user profile.
- Tick the Enable Chatter check box in the Administrative Permissions section.
b.
- Search through the Permission Sets in Setup.
- System section appears. Select System Permissions in that section.
- Click on the Edit button
.
- Tick the Enable Chatter check box.