Answer:
a) 17, b) 27, c) 30, d) 12
Step-by-step explanation:
a) x * a
3.4 * 5 = 17
b) static_cast<int>(x) * static_cast<int>(z)
Casting a value to int makes it an integer. The above one equals int(3.4) * int(9.1) = 3 * 9 = 27
c) static_cast<int>(x * z)
Casting a value to int makes it an integer. The above one equals int(3.4 * 9.1) = int(30.94) = 30
d) static_cast<double>(b)
12