1331com银河游戏

cԿκϰ

cԿκϰ

ƽ̨ûĻоѡcԿκϰصģ2cԳκϰ 3̷ǿİCԳ κϰ ز 6cԳƿκϰ 绪 7cԳƿκϰ3 10cԳƵκϰ𰸣
cԿκϰ
ƽ̨û 2018-06-06 17:01:05

Ǿѡƽ̨ûʱ




cԳκϰ

cԳκϰ
Ľѱ7451˵
#include 
int main() {
double mark[4][3], aver[4], high[3] = {0};
int i, j;
for (i = 0; i < 4; i++) {
double all = 0.0;
printf ("%cųɼ\n", 'A'+i);
for (j = 0; j < 3; j++) {
scanf ("%lf", &mark[i][j]);
high[j] = high[j] < mark[i][j] ? mark[i][j] : high[j];
all += mark[i][j];
}
printf ("%cͬѧƽɼǣ%.2lf\n", 'A'+i, all / 3);
}
printf ("Ƶ߷ֱַΪ%.2lf %.2lf %.2lf", high[0], high[1], high[2]);
return 0;
}
һα༭ʱ 2016-03-27



̷ǿİCԳ κϰ ز

Ľѱ182˵

1³ƺC 1

1.1ʲôǼ1

1.2ʲôǼ1

1.3C Եķչص3

1.4򵥵C Գ5

1.4.1򵥵C Գ6

1.4.2C ԳĽṹ10

1.5C IJ뷽12

1.6Ƶ14

1-5 #include

һ ƺC 15ҳ

1-5

#include

int main ( )

{ printf ("**************************\n\n");

printf(" V ery Good!\n\n");

printf ("**************************\n");

return 0;

}

1-6

#include

int main()

{int a,b,c,max;

printf("please input a,b,c:\n");

scanf("%d,%d,%d",&a,&b,&c);

max=a;

if (max

max=b;

if (max

max=c;

printf("The largest number is %d\n",max);

return 0;

һα༭ʱ 2018-03-30
zhaocheng89
zhaocheng89


zhaocheng89cԳƿκϰ3

Ľѱ6158˵
̷ǿ

ѧѧϰ

γ



̷ǿCԳϰο
Cϻָ

кܶϣ
̷ǿࡶCԳơƵ̳
CԳƿμ_
̷ǿࡶCԳơ飫ֽ飩
̷ǿCϻָ飫ֽ飩
......

زû֣Ϻܶ࣬Լȥذ
һα༭ʱ Ƽ2018-04-16 14:22:49



cԳƵκϰ𰸣

Ľѱ6298˵

ϰ    1

1.1  

1

2main()main()

3main()

5{}

6˳ṹѡṹѭṹ

7.c.obj.exe

1.2  ˼

1𣺽ṹָΪʹһĽṹԱ֤ȷԶ涨һνгƵԭ˳ṹѡṹѭṹ

2㷨ǶԾⲽһ

㷨ı﹤ͨ¼ַȻԱʾ㷨ͼʾ㷨αʾ㷨óԱʾ㷨

3

4

5

1.3  

1

#include "stdio.h"

main()

{  float a=10, b=20, h=5, s;

s=(a+b)*h/2;

printf("s=%f " , s );

}

һα༭ʱ 2018-01-26
网站地图

银河1331官网