1樓:
void max(int a[3][4],int b[4])}
2樓:風雷九州
//**如下,註釋的地方就是修改的地方
#include
void max(int a[3][4],int b[4]);
int main()
,,};
int b[4],i,j;
for(i=0;i<3;i++)
//max(a[3][4],b[4]);
max(a,b);
for(i=0;i<4;i++)
printf("maximum value of the %d column:%d\n",i+1,b[i]);
return 0;
}//int max(int a[3][4],int b[4])void max(int a[3][4],int b[4])}//執行結果如下
79 80 86 92
95 98 99 1
2 6 10 14
maximum value of the 1 column:95maximum value of the 2 column:98maximum value of the 3 column:
99maximum value of the 4 column:92
3樓:匿名使用者
函式呼叫 那裡錯了,應該是:
max( a, b );
而不是max(a[3][4], b[4]);
c語言程式,c語言程式設計序
include main printf n d n 輸出字元的個數。希望你能明白。輸入以空格隔開的字元,按回車鍵終止迴圈。ch是一個字元,不是字串。當你輸入一句字元時,輸入了第一個字元後第一次scanf c ch 執行完畢。程式繼續,到判斷 n scanf c ch 這時就相當於提示你輸入第二個字元...
C語言程式解析,c語言程式詳解
一看就是個數列問題 從n 1,p t 1 p 2009,s s t 2009 n 2 p i 1 t 1 p 2009 s s t 2009 t 2009 i 2 t 1 p 2009 p 2009 j 1 s s t 2009 t 2009 t 2009 j 2 s s t 2009 t 2009...
求救C語言高手,我要怎麼修改這個程式才能實現這個題的功能
include void main include stdafx.h include int main int argc,char argv int result 4 printf enter a dollar amount scanf d bill for int i 0 i 4 i 該程式適合現...