Tong Binh Phuong Tren Cac Hang Le

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Tong Binh Phuong Tren Cac Hang Le as PDF for free.

More details

  • Words: 106
  • Pages: 1
#include #include<stdio.h> #include<math.h> void nhap(int a[][100],int n,int m); void xuat(int a[][100],int n,int m); double sum(int a[][100],int n,int m); void nhap(int a[][100],int n,int m) { int i,j; for(i=0;i>a[i][j]; } } void xuat(int a[][100],int n,int m) { int i,j; cout<<"ma tran cua ban la"<<endl; for(i=0;i>n; cout<<"nhap so cot: "; cin>>m; nhap(a,n,m); xuat(a,n,m); cout<<"ket qua la: "<<sum(a,n,m); } double sum(int a[][100],int n,int m) { int i,j; double tong=0; for(i=0;i

Related Documents