Zoom
27.
}
28.
29.
30.
31.
32.
double feeAfterAge = baseFee * factor;
if (yearsExperience >= 5) {
feeAfterAge = 0.9; // 10% discount
33.
}
34.
35.
if (isVIP) {
36.
feeAfterAge = 0.95; // 5% discount
37.
}
38.
39.
return feeAfterAge;
40.
Page 212
Question 3 (4 points): You are assigned to do the functional (black-box) test for Volume
Calculator function. Writing test cases for this function with the content described below. (Use
question 3 template)
Function Description: This function allows users to calculate the volume of different 3D shapes
1
+100%
Close