Computers and Technology

Viết chương trình có sử dụng kiểu dữ liệu struct, tạo menu và định nghĩa các hàm để thực hiện các công việc sau:

a. Nhập vào các thông tin: mã sách, tên sách, tác giả, năm xuất bản của không quá 50
cuốn sách, kiểm tra nếu không thỏa mãn yêu cầu nhập lại. Xuất ra màn hình (console) danh
sách các cuốn sách vừa nhập, thông tin của mỗi cuốn sách phải viết trên cùng 1 dòng.
b. Đưa ra thông tin của tất cả các cuốn sách có tên tác giả được nhập vào từ bàn phím.
c. Tìm thông tin cuốn sách có mã sách và năm xuất bản được nhập vào từ bàn phím.
d. Sắp xếp lại danh sách các cuốn sách theo thứ tự tăng dần của năm xuất bản.
e. Tạo menu để thực hiện các công việc trên và xuất kết quả ra màn hình (console).
Kết thúc chương trình khi bấm chọn phím 0.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:20, gingerham1
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
image
Computers and Technology, 23.06.2019 16:30, 19thomasar
How to do this programming flowchart?
Answers: 3
image
Computers and Technology, 23.06.2019 22:20, Izzyfizzy
Read “suburban homes construction project” at the end of chapters 8 and 9 (in the textbook) and then develop a wbs (work breakdown structure) in microsoft excel or in microsoft word (using tables)
Answers: 1
image
Computers and Technology, 24.06.2019 22:10, jsjsjsskakwkowwj
Function name: poly parameters: int returns: int description: a polynomial of degree n with coefficients a0,a1,a2,a3, . . ,an is the function p(x) = a0+a1x+a2x2+a3 ∗ x3+ . . +an ∗ xn this function can be evaluated at different values of x. for example, if: p(x) = 1+2x+ x2, then p(2) = 1+2 ∗ 2+22 = 9. if p(x) = 1+x2+x4, then p(2) = 21 and p(3) = 91. write a function poly() that takes as input a list of coefficients a0, a1, a2, a3, . . , an of a polynomial p(x) and a value x. the function will return poly(x), which is the value of the polynomial when evaluated at x.
Answers: 3
Do you know the correct answer?
Viết chương trình có sử dụng kiểu dữ liệu struct, tạo menu và định nghĩa các hàm để thực hiện các c...

Questions in other subjects:

Konu
Mathematics, 18.10.2020 14:01