#include using namespace std; void nhap_mang(float a[], int &n) { float x; do { cout<<"a["<>x; if (x != -1 && n < 100) { a[n] = x; n++; } } while (x != -1 && n < 100); cout<<"Da nhap "<>x; for (int i = 0; i < n; i++) { if (a[i] == x) { b[dem] = i; dem++; } } cout<<"\nGia tri "<