Answer:
The program in Python is as follows:
TotalCost = int(input("Total cost: "))
if TotalCost <= 2000:
print("Wall Clock")
elif TotalCost >= 2001 and TotalCost <= 5000:
print("School Bag")
elif TotalCost >= 5001 and TotalCost <= 10000:
print("Electric Iron")
else:
print("Wrist Watch")
Explanation:
This gets input for total cost
TotalCost = int(input("Total cost: "))
If the total cost is up to 2000, print wall clock as the assured gift
<em>if TotalCost <= 2000:</em>
<em> print("Wall Clock")</em>
If the total cost is between 2001 and 5000 (inclusive), print school bag as the assured gift
<em>elif TotalCost >= 2001 and TotalCost <= 5000:</em>
<em> print("School Bag")</em>
If the total cost is between 5001 and 10000 (inclusive), print electric iron as the assured gift
<em>elif TotalCost >= 5001 and TotalCost <= 10000:</em>
<em> print("Electric Iron")</em>
If the total cost is more than 10000, print wrist watch as the assured gift
else:
print("Wrist Watch")