#include #include using namespace std; void nhap_mang(float a[], int n) { for (int i = 0; i < n; i++) { cout<<"a["<>a[i]; } } void tim_so_am(float a[], int n) { float tong = 0; int dem = 0; cout<<"Cac so am co tri tuyet doi lon hon 5 la: "< 5) { cout<>k; if (k < n && k >= 0) { xoa_phan_tu(a, n, k); cout<<"Mang sau khi xoa phan tu thu "<>n; if (n < 1 || n > 30) cout<<"Nhap so nguyen 1 <= n <= 30"< 30); nhap_mang(a,n); tim_so_am(a,n); nhap_k(a,n); return 0; }