06 2019 档案
摘要:1 /*通讯录排序*/ 2 #include 3 struct birthday { 4 int year,mooth,day; 5 }; 6 struct student { 7 int tel; 8 char name[20]; 9 struct birthday birth; 10 11 }; 12 13 int main(void) 14 {struct stude...
阅读全文
摘要:1 #include 2 struct birthday { 3 int year,mooth,day; 4 }; 5 struct student { 6 int tel; 7 char name[20]; 8 struct birthday birth; 9 10 }; 11 12 int main(void) 13 {struct student a[20]; 14...
阅读全文
摘要:1 /*拆分实数的整数与小数部分*/ 2 #include 3 void splitfloat(float x,int *intpart,float *fracpart); 4 int main(void) 5 { 6 int intpart; 7 float x,fracpart; 8 9 printf("input a number:"); 10 ...
阅读全文
浙公网安备 33010602011771号