CSD203_-_PE_-_De01_3966.webp
white_cloud1

CSD203_-_PE_-_De01_3966.webp

☑Kizspy.me
Zoom
INPUT:
m = 9
Input a question: 1 (choose f1() to run)
OUTPUT:
(9, K, 1) (15, E, 1) (3, G, 1) (7, A, 1) (4, P, 1)
b. f2(): To complete requirement f2(), the student needs to implement two functions count()
and count_completed (...) in the BstStudent class to count the number of students who have
completed the course.
The input and expected output used to test your code are as follows:
INPUT:
m = 9
Input a question: 2 (choose f2() to run)
OUTPUT:
6
c. f3(): You are required to use two functions print() and print_not_completed (...) in the
BstStudent class to print out the list of students who have not completed the course in
descending order of ID. Hint: copy inOrder(...), _inOrder(...) (in the BstStudent class) into
print(), print_not_completed(...) and modify these two functions accordingly, then call print()
in f30)
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom