The answer is -621 (that’s what my calculator said).... btw why didn’t you just use a calculator for this...?
Answer:
Explanation:
price = eval(input("price of item: "))
quantity = eval(input("quantity of item: "))
sales_tax = 0.08 # 8% sales tax
total_cost = price*quantity
total_cost_with_tax = total_cost + total_cost*sales_tax
print("total cost: "+str(total_cost))
print("total cost + 8% sales tax: "+str(total_cost_with_tax))
Answer:
b) A separate part of the program that performs a specific task.
Explanation:
A subroutine is a portion of the program that can be invoked to perform a specific task. Typically, it performs that task and returns execution control to the point immediately following its invocation. It may or may not maintain "history" or "state", and it may or may not throw exceptions.
A well-behaved subroutine will only operate on data passed to it, will not maintain any internal history or state, and will have only one exit.
If Seneca has not done anything since the conditional formatting she can undo what her last action was. This is done by either pressing control+Z or by clicking on the undo icon.
If other actions have been done, there are a few more steps that need to be taken in order to clear the formatting. They are:
1. Select the cell or cells whose formatting you want to delete.
2. Display the Home tab of the ribbon.
3. In the Editing group, click Clear | Clear Formats.
Answer:
Ctrl + R - Copy a formula from the cell to the left and adjusts the cell references. For example, if you have a formula in cell A2 and you want to copy it to cell B2, select B2 and press Ctrl + R. Tip. Both of the above shortcuts can be used to copy formulas to multiple cells too.
Explanation: