Xây dựng danh sách Sinh Viên

  Xậy dựng 1 kiểu cấu trúc sinh viên không vượt quá 100 người gồm thông tin sau: Ho và tên Điểm môn 1, môn 2, môn 3, ĐTB Sắp xếp theo điểm trung bình và có kẹp vị thứ từng người Code: #include <bits/stdc++.h> using namespace std; struct student { string HoTen; float mon1,mon2,mon3,dtb; }; typedef student ST; float DTB(float a, float b , float c) { return (a+b+c)/3; } void Inp_Array(ST a[],int n) { for(int i = 0 ; i < n ; i++) { cout<<"Sinh vien thu "<<i+1<<endl; cout<<"Nhap ho va ten: "; fflush(stdin); getline(cin,a[i].HoTen); cout<<"Nhap diem thi cac mon"<<endl; cout<<"Diem mon 1: "; cin>>a[i].mon1; cout<<"Diem mon 2: "; cin>>a[i].mon2; cout<<"Diem mon 3: "; cin>>a[i].mon3; a[i].dtb = DTB(a[i].mon1,a[i].mon2,a[i].mon2); } } void SapXep(ST a[],int n) { for(int i = 0 ; i < n - 1; i++) { for(int j = i + 1 ; ...