{4A7EC78A-D141-486E-8F34-84141DB3BA8E}.webp
N

{4A7EC78A-D141-486E-8F34-84141DB3BA8E}.webp

3
Your selection (1 -> 4) :
Enter the number of employees: 3
Enter employee 1
Enter name : Nguyen Gia Huy
Enter age
20
Enter salary: 11000000
Enter employee 2
Enter name : Nguyen Khai
Enter age
22
Enter salary: 8000000
Enter employee 3
Enter name: Nguyen Minh Sang
Enter age
21
Enter salary: 9500000
OUTPUT
Employee 1
Nguyen Gia Huy
20
11000000
Employee 2
Nguyen Minh Sang
21
9500000
4. Write a new class Manager to inherit the class
Employees; add an attributed rank, and write a getter
and setter method for the new class. Finally, write a
method display_info() to print information. (1 point)
output should be:
Chưa có bình luận nào.

Thông tin

Category
PFP191
Thêm bởi
nghiaisme198
Ngày thêm
Lượt xem
9
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom