# 15.12: Exercises

Exercise $$\PageIndex{1}$$

Assume that we execute the following assignment statements:

width = 17
height = 12.0
delimiter = '.'


For each of the following expressions, write the value of the expression and the type (of the value of the expression).

1. width/2
2. width/2.0
3. height/3
4. 1 + 2 * 5
5. delimiter * 5

Exercise $$\PageIndex{2}$$
2. Suppose the cover price of a book is $24.95, but bookstores get a 40% discount. Shipping costs$3 for the first copy and 75 cents for each additional copy. What is the total wholesale cost for 60 copies?