Answer:
The ER diagram for the auto service is shown in the attachment.
Answer:
B. Click the Next icon on the Reviewing toolbar to review and then accept or reject each edit.
Explanation:
Since Jack wants to keep some changes and reject others, he can't use a global solution (like presented in answers A and C).
He has to go through each and every change proposition and decide individually if he wants to keep the change or not. That's why it's answer B.
It's the only way to accept some, reject some.
At the end of this process, he'll have a clean document with Rob's recommendations and his original documents.
Answer:
product_name = input("Enter product name : ")
if product_name=="pen"or"book"or"box"or"pencil"or"eraser":
if product_name == "pen":
amount = 10
print(f"Product Name: {product_name}\nCost: {amount} rupees")
if product_name == "book":
amount = 100
print(f"Product Name: {product_name}\nCost: {amount} rupees")
if product_name == "box":
amount = 150
print(f"Product Name: {product_name}\nCost: {amount} rupees")
if product_name == "pencil":
amount = 5
print(f"Product Name: {product_name}\nCost: {amount} rupees")
if product_name == "eraser":
amount = 8
print(f"Product Name: {product_name}\nCost: {amount} rupees")
else:
print("Item not found!")
Explanation:
The python program is a code of nested if-statements that compares the input string to five items of the first if-statement. For every item found, its code block is executed.