Back
Mang_2_Chieu_Con_Tro.cpp
Save
// Mang_2_Chieu_Con_Tro.cpp #include
using namespace std; void nhapMang(float *p, int m, int n) { for (int i = 0; i < m; i++) { for (int j = 0; j < n; j++) { cout<<"a["<
>*(p+i*m+j); } } } void hienThiMang(float *p, int m, int n) { for (int i = 0; i < m; i++) { for (int j = 0; j < n; j++) { cout<<"\t"<<*(p+i*m+j); } cout<
>m; cout<<"Nhap n: "; cin>>n; p = b; nhapMang(p, m, n); cout<<"Mang vua nhap: "<