Uploaded by Tr Khanh

Midterm-exam 2 K62 Fintech

advertisement
NATIONAL ECONOMICS UNIVERSITY
SCHOOL OF INFORMATION TECHNOLOGY AND DIGITAL ECONOMICS
MIDTERM EXAM
No 2
Time: 60 minutes.
Q. Write a C ++ program that enters a list of students with fields: student code, name,
and point of discussion, midterm exam no1, midterm exam no2, final exam of
Introduction to Programming. Please:
1. Calculate the score of Introduction to Programming:
Score = 10% of discussion + 20% of midterm exam no1 + 20% of midterm exam
no2 + 50% of final exam.
2. Print a list of students with names sorted A, B, C, … according to the following
form.
LIST OF STUDENTS
No
Name of student
Score
1.
2.
3. Print the students with the highest scores according to the following form.
LIST OF STUDENTS WITH THE HIGHEST SCORE
No
Name of student
1.
2.
- End -
Score
Download