- 博客(5)
- 收藏
- 关注
原创 三个数的算数平方根
#include "stdio.h"#include"math.h"double beautiful(double x, double y,double z){ return sqrt(x*x+y*y+z*z); } int main(){ double x, y,z; x=3; y=4; z=5; printf("%lf",beautiful(x,y,z));
2014-04-22 19:51:04
976
原创 sayhello
/* Note:Your choice is C IDE */#include "stdio.h"void sayHello(){ printf("hello,I'm liu"); }void main(){ sayHello();}
2014-04-22 18:55:30
346
原创 week7
/* Note:Your choice is C IDE */ #include "stdio.h" #define LEN 10 main() { int a[LEN]; int i; int max; int min; /* i= 0 1 2 ~ 9 */ /* a[0] a[1] 2 ~ 10
2014-04-15 20:22:32
275
转载 练习
/* Note:Your choice is C IDE */ #include "stdio.h" #include "stdlib.h" #define N 25 main() { int i,j,temp; int students[N]; for(i=0;i<N;i++){ temp = rand()%45 +1
2014-04-15 19:58:05
380
原创 清明
#include "stdio.h"void main(){ int x; scanf("%d/n",&x); if(x>=1&&x<=12) printf("",x); else printf("not voild month nomber",x); }
2014-04-15 16:17:26
520
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人