Q1_20251108152252.webp
S

Q1_20251108152252.webp

  • Media owner Shoko91
  • Ngày thêm
Zoom
Output:
DOLL
sore te employer not of name.
5. Clear remove all employees and print "Cleared employee list."
All results must be written to the output.txt file.
Sample Input 1
input.txt
2
Add 1 Alice 1500.00 HR
Print
output.txt
Added:
1-Alice-1500.00-HR
Employees:
1-Alice-1500.00-HR
Sample Input 2
input.txt
5
Add 1 Alice 1500.00 HR
Update 1 Ali 1300.00 IT
Clear
Add 1 Alice 1500.00 HR
Print
output.txt
Added:
1-Alice-1500.00-HR
Updated:
1-Ali-1300.00-IT
Clear all.
Added:
1-Alice-1500.00-HR
Employees:
1-Alice-1500.00-HR
Sample Input 3
input.txt
5
Add 1 Alice 1500.00 HR
Add 2 Bob 2200.00 IT
Add 3 Alex 1800.00 IT
Add 4 Daisy 2500.00 Finance
Sort
output.txt
Added:
1-Alice-1500.00-HR
2-Bob-2200.00-IT
Added:
Added:
3-Alex-1800.00-IT
Added:
4-Daisy-2500.00-Finance
Sorted:
3-Alex-1800.00-IT
1-Alice-1500.00-HR
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom