Computers and Technology

Viết chương trình quản lý sinh viên bằng danh sách liên kết đơn. Thông tin sinh viên gỗm: MaSV, TenSV, DiemTB. Thực hiện các yêu cầu sau: 1. Nhập vào n sinh viên (0.5 đ)

2. In n sinh viên ra màn hình dưới dạng bảng: (0.5 đ)

STT Mã SV Tên SV ĐiểmTB

01 SV01 Nguyen Van Anh 8.5

02 SV02 Bui Thi Thanh Loan 6.5

3. Sắp xếp sinh viên theo thứ tự giảm dần của DiemTB bằng phương pháp sắp xếp chọn (0.5 đ)

4. Bổ sung một sinh viên mới vào danh sách đã được sắp xếp theo điểm trung bình sao cho danh sách sau khi bổ sung vẫn là danh sách được sắp xếp theo điểm trung bình. (0.5 đ)

5. In ra bảng dữ liệu giống bảng 2, bổ sung cột xếp loại. Xếp loại sinh viên dựa theo điểm trung bình với yêu cầu như sau: (05 đ)

Nếu DTB<0 hoặc DTB>10 thì Thông báo dữ liệu không hợp lệ

Nếu DTB<5 thì xếp loại yếu

Nếu 5<=DTB<6.5 xếp loại Trung bình

Nếu 6.5<=DTB<8 xếp loại khá

Nếu DTB>=8 xếp loại Giỏi

6. Xóa tất cả sinh viên có xếp loại yếu ra khỏi danh sách, in kết quả kiểm tra. (0.5 đ)

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 21:00, raquelle66
So im doing this school challenge and the teachers said whats the average text a student gets a day so i need to get about 20 in a day but dont know how can you guys 2163371293
Answers: 2
image
Computers and Technology, 22.06.2019 23:00, maxy7347go
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
image
Computers and Technology, 22.06.2019 23:30, riah133
Creating "smart interfaces" in all sectors of industry, government, and the public arena is one of the fastest growing hct areas. these interfaces model, interpret, and analyze such human characteristics as speech, gesture, and vision. the field of biometrics, in which humans authenticate themselves to machines, is an area of considerable interest to hct practitioners. fingerprint scans are one of the most frequently used biometric options, and this article, biometric student identification: practical solutions for accountability & security in schools, makes a case for the implementation of fingerprint scans in schools. critique the article, and answer the following questions: according to the author, what are the main benefits of adopting fingerprint scans in schools for student identification? according to the author, what are the main drawbacks of adopting fingerprint scans in schools for student identification? do you agree with the author's assessment of the pl
Answers: 2
image
Computers and Technology, 23.06.2019 13:30, gamingisfun
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
Do you know the correct answer?
Viết chương trình quản lý sinh viên bằng danh sách liên kết đơn. Thông tin sinh viên gỗm: MaSV, TenS...

Questions in other subjects:

Konu
Mathematics, 09.04.2021 03:30
Konu
Mathematics, 09.04.2021 03:30