PRO192_-_PE01_-_FA_2024_2886.webp
H

PRO192_-_PE01_-_FA_2024_2886.webp

average of price of the journals in the Journal List
Hints: to declare the JournalList class, you can use the following statement:public class JournalList extends ArrayList<burnal> {
}
The program output might look something like this (using the JournalList class):
The journals have been added:
100, OXFORD, 4000.00
100, OXFORD, 4000.00
101, WILL, 2000.00
101, WILL, 2000.00
102, ISI, 5000.00
102,ISI, 5000.00
103, SCOPUS, 8000.00
103, SCOPUS, 8000.00
104,SUR, 7000.00
104,SUR, 7000.00
Add a new journal:
Add a new journal:
Enter id: 105
Enter id: 105
Enter publisher:yale
Enter publisher:yale
Enter price:3000
Enter price:3000
1. Test getJournal PublisherByld
1. Test getJournal PublisherByld
2. Test getAveragePrice
2. Test getAveragePrice
Enter TC(1/2):1
Enter TC(1/2):2
Enter id: 105
OUTPUT:4833.33
Zoom
OUTPUT:YALE
The journals have been added:
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRO192
Thêm bởi
Hương Mai
Ngày thêm
Lượt xem
2,950
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_PE01_-_FA_2024_2886.webp
File size
196.5 KB
Dimensions
1920px x 1009px

Share this media

Back
Bên trên Bottom