Ma Tran Chan Le Xen Ke

  • 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 Ma Tran Chan Le Xen Ke as PDF for free.

More details

  • Words: 94
  • Pages: 1
#include #include <stdio.h> int test(int a[][10],int n,int m); void main() { int a[10][10]; int n,m; int i,j; cout<<"so hang cua ma tran: "; cin>>n; cout<<"so cot cua ma tran: "; cin>>m; for(i=0;i>a[i][j]; } for(i=0;i
} if(test(a,n,m)==1) cout<<"ma tran ko chan le"; else cout<<"ma tran chan le"; } int test(int a[][10],int n,int m) { int i,j; int co; for(i=0;i<m;i++) { if(a[i][0]%2==0) { for(j=1;j<m;j++) { if(a[i][j]%2!=0) co=1; } } else if(a[i][0]%2!=0) { for(j=1;j<m;j++) { if(a[i][j]%2==0) co=1; } } } return co; }

Related Documents

Ma Tran Chan Le Xen Ke
November 2019 7
Xen
November 2019 6
Led Ma Tran Spkt
June 2020 9
Cong 2 Ma Tran
November 2019 11
Dieu Khien Ma Tran Led
November 2019 11
Bt Ma Tran Dinh Thuc
June 2020 18