Question:  Roger had 25 books. If he sold 21 of them and used the money he earned to buy 30 new books, how many books would Roger have? 

Solution program:
answer=((25.0+30.0)-21.0)
print(answer)

Answer: 34