摘要:
#include<stdio.h> void main() {int a,b,c,d; scanf("%d,%d,%d",&a,&b,&c); d=max(a,b,c); printf("max=%d",d); getch(); /*暂停看运行结果*/ } int max(int x,int y,i 阅读全文
posted @ 2018-06-08 22:18
刘俊涛的博客
阅读(1533)
评论(0)
推荐(0)
摘要:
1 //takePlace里的循环写错了,j循环应该是 2 //for (j=i;j 6 7 int Array[3][3]; 8 void takePlace( ) 9 { 10 int i,j,t; 11 for(i=0;i<3;i++) 12 for(j=i;j<3;j++) 13 { 14 t=Array[i][j]; 15 Array[i... 阅读全文
posted @ 2018-06-08 21:54
刘俊涛的博客
阅读(1847)
评论(0)
推荐(0)

浙公网安备 33010602011771号