subject

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.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:20
Your program will make use of long long int variables for all calculations. note: the use of long long int requires that you have c++11 support. you should have this automatically if you are using a newer version of visual studio. the support is there for gcc as well, but you may need the -std=c++11 or -std=c++0x compiler flag. you first need to read in the total number of seconds. there is no prompt for the read (that is, you just do the cin without using a cout to display a prompt). this is going to seem a little strange when you are running your program in your ide
Answers: 2
question
Computers and Technology, 22.06.2019 23:20
How can you tell if someone sent you a text message to your email instead of a email
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Write a grading program for a class with the following grading policies: a. there are two quizzes, each graded on the basis of 10 points. b. there is one midterm exam and one final exam, each graded on the basis of 100 points. c. the final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (do not forget to normalize the quiz scores. they should be converted to a percentage before they are averaged in.) any grade of 90 or more is an a, any grade of 80 or more (but less than 90) is a b, any grade of 70 or more (but less than 80) is a c, any grade of 60 or more (but less than 70) is a d, and any grade below 60 is an f. the program will read in the student’s scores and output the student’s record, which consists of two quiz and two exam scores as well as the student’s average numeric score for the entire course and final letter grade. define and use a structure for the student reco
Answers: 2
question
Computers and Technology, 24.06.2019 07:50
Write a defining table and then a program that determines if you can sleep in or not. your program should get all its input from your computer’s clock. on all weekdays (monday through friday) that are not holidays, your program should output “get up! ” on all other days (weekends and holidays), your program should output “sleep in.” the three holidays that your program must check for are january 1 (new year’s day), july 4 (u.s. independence day), and december 25 (christmas). you don’t need to include other holidays in your program because most other holidays do not occur on a fixed day each year.
Answers: 1
You know the right 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
question
Health, 30.12.2019 23:31
Questions on the website: 13722363