Q1_20251120125444.webp
I

Q1_20251120125444.webp

29.
double feeAfterAge = baseFee factor;
30.
31.
if (yearsExperience >= 5) {
32.
feeAfterAge *= 0.9; // 10% discount
33.
}
34.
35.
if (isVIP) {
36.
feeAfterAge = 0.95; // 5% discount
37.
}
38.
39.
40. }
return feeAfterAge;
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
(Rectangular Prism, Sphere, Cylinder, Cone) based on the provided dimensions.
Screen Layout:
Zoom
+ 100%
Volume Calculator
Calculate the volume of different 3D shapes easily.
Select Shape
Rectangular Prism
Length (cm)
3
Close
Chưa có bình luận nào.

Thông tin

Category
SWT301
Thêm bởi
Inumaki871
Ngày thêm
Lượt xem
2,501
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom