新建
上传
首页
助手
最?/div>
资料?/div>
工具

 

             

                 

                     /*

本矩阵运算系统可以完成矩阵的加?/p>

减?/p>

乘法?/p>

但是只限于方?/p>

*/ 

 

 

 

 

#include<stdio.h> 

#include<math.h> 

 

 

/*--------------------

全局变量定义

-------------------------*/ 

int n,m,c=0; 

int a[100][100],b[100][100]; 

int fc[100][100]; 

 

 

/*--------------------

函数声明

-----------------------------*/ 

void print(); 

void print_sub(); 

void input_marry(); 

void add_marry(); 

void sub_marry(); 

void mut_marry(); 

 

/*------------------

主函?/p>

-----------------*/ 

void main() 

{ 

print();   

scanf("%d",&c); 

while(c!='\0') 

{     

if(c==1) {input_marry();} 

 

 

if(c==2) {add_marry();}  

 

if(c==3) {sub_marry();}  

if(c==4) {mut_marry();}  

if(c==0) {c='\0';} 

printf("

请选择运算?/p>

\n\n"); 

scanf("%d",&c); 

  

} 

 

} 

 

Ͼλ
新建
上传
首页
助手
最?/div>
资料?/div>
工具

 

             

                 

                     /*

本矩阵运算系统可以完成矩阵的加?/p>

减?/p>

乘法?/p>

但是只限于方?/p>

*/ 

 

 

 

 

#include<stdio.h> 

#include<math.h> 

 

 

/*--------------------

全局变量定义

-------------------------*/ 

int n,m,c=0; 

int a[100][100],b[100][100]; 

int fc[100][100]; 

 

 

/*--------------------

函数声明

-----------------------------*/ 

void print(); 

void print_sub(); 

void input_marry(); 

void add_marry(); 

void sub_marry(); 

void mut_marry(); 

 

/*------------------

主函?/p>

-----------------*/ 

void main() 

{ 

print();   

scanf("%d",&c); 

while(c!='\0') 

{     

if(c==1) {input_marry();} 

 

 

if(c==2) {add_marry();}  

 

if(c==3) {sub_marry();}  

if(c==4) {mut_marry();}  

if(c==0) {c='\0';} 

printf("

请选择运算?/p>

\n\n"); 

scanf("%d",&c); 

  

} 

 

} 

 

">
新建
上传
首页
助手
最?/div>
资料?/div>
工具

 

             

                 

                     /*

本矩阵运算系统可以完成矩阵的加?/p>

减?/p>

乘法?/p>

但是只限于方?/p>

*/ 

 

 

 

 

#include<stdio.h> 

#include<math.h> 

 

 

/*--------------------

全局变量定义

-------------------------*/ 

int n,m,c=0; 

int a[100][100],b[100][100]; 

int fc[100][100]; 

 

 

/*--------------------

函数声明

-----------------------------*/ 

void print(); 

void print_sub(); 

void input_marry(); 

void add_marry(); 

void sub_marry(); 

void mut_marry(); 

 

/*------------------

主函?/p>

-----------------*/ 

void main() 

{ 

print();   

scanf("%d",&c); 

while(c!='\0') 

{     

if(c==1) {input_marry();} 

 

 

if(c==2) {add_marry();}  

 

if(c==3) {sub_marry();}  

if(c==4) {mut_marry();}  

if(c==0) {c='\0';} 

printf("

请选择运算?/p>

\n\n"); 

scanf("%d",&c); 

  

} 

 

} 

 

Ͼλ">
Ͼλ
Ŀ

C语言实现的矩阵加减乘法运算系?- 百度文库
新建
上传
首页
助手
最?/div>
资料?/div>
工具

 

             

                 

                     /*

本矩阵运算系统可以完成矩阵的加?/p>

减?/p>

乘法?/p>

但是只限于方?/p>

*/ 

 

 

 

 

#include<stdio.h> 

#include<math.h> 

 

 

/*--------------------

全局变量定义

-------------------------*/ 

int n,m,c=0; 

int a[100][100],b[100][100]; 

int fc[100][100]; 

 

 

/*--------------------

函数声明

-----------------------------*/ 

void print(); 

void print_sub(); 

void input_marry(); 

void add_marry(); 

void sub_marry(); 

void mut_marry(); 

 

/*------------------

主函?/p>

-----------------*/ 

void main() 

{ 

print();   

scanf("%d",&c); 

while(c!='\0') 

{     

if(c==1) {input_marry();} 

 

 

if(c==2) {add_marry();}  

 

if(c==3) {sub_marry();}  

if(c==4) {mut_marry();}  

if(c==0) {c='\0';} 

printf("

请选择运算?/p>

\n\n"); 

scanf("%d",&c); 

  

} 

 

} 

 



ļ׺.doc޸Ϊ.docĶ

  • ԭ-²
  • VBAʵPPTʾģʽʵݼʱ벢Զ
  • MltgtzԱ׷
  • ½ά˼
  • ޻ѧԭӦáϰԼ
  • ʵ άCעҺȶʵ
  • ʯǷ塷
  • CԻϰ(1-3)
  • ȫش⾫ѡ
  • ۵һϰ

վ

԰ Ͼλ
ϵͷ779662525#qq.com(#滻Ϊ@)