PRO192_-_PE02_-_SP_2025_3836.webp
Q

PRO192_-_PE02_-_SP_2025_3836.webp

☑Kizspy.me
that contains all the infor ation of the store. name
location-inventoryCount-capacity Limit. If
capacity Limit is less than inventoryCount then set
it to inventoryCount * 5
Do not format the result.
The program output might look something like this:
Enter name: My Shop
Enter location:Q1
Enter inventory count:10
Enter capacity limit:30
1.Test getName()
2.Test getAvailableCapacity()
3.Test toString()
Enter TC(1/2/3):1
OUTPUT:
MY SHOP
Enter name: My Shop
Enter location:Q1
Enter inventory count:60
Enter capacity limit:50
1.Test getName()
Enter name: My Shop
Enter location:Q1
Enter inventory count:30
Enter capacity limit:10
1.Test getName()
2.Test getAvailableCapacity() 2.Test getAvailableCapacity()
3.Test toString()
Enter TC(1/2/3):2
OUTPUT:
240
3.Test toString()
Enter TC(1/2/3):3
OUTPUT:
My Shop-Q1-50-250
Zoom
+100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRO192
Thêm bởi
Quốc Khánh1
Ngày thêm
Lượt xem
1,380
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom