{B5311036-96B8-40EA-8CAB-66D6DCE52E75}.webp
N

{B5311036-96B8-40EA-8CAB-66D6DCE52E75}.webp

Question 3 (4 points)
Write a program in the python programming language
using object-oriented programming techniques. The
program enters a list of employees, each with
information on name, age, and salary.
1. Print the list of employees (1 point)
The output should be:
1
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 Khai
22
8000000
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
7
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom