Loading

Exercise Number: 1

Arithmetic Operators

Calculate Total Cost and Change:

    • You bought items costing $15 and $4. Calculate the total cost, difference in price, product of their costs, quotient when the total cost is divided by 2, and the remainder when the total cost is divided by 3.
    • After purchasing, the price of the first item increased by $1 and the price of the second item decreased by $1. Print the new prices.