c语言打字练习

Contributor:- - Type:代码 Date time:2020-02-18 19:12:54 Favorite:12 Score:0
返回上页 Report
请选择举报理由:




Collection Modify the typo
{printf("Inputinfo:bodys[i].namebodys[i].numbodys[i].sexbodys[i].profession\n");scanf("%s%d
%c%c",bodys[i].name,&(bodys[i].num),&(bodys[i].sex),&(bodys[i].profession));if(bodys[i]
.profession=='s'){printf("Inputsc.score\n");scanf("%f",&bodys[i].sc.score);}else{printf("Input
sc.course\n");scanf("%s",bodys[i].sc.course);}fflush(stdin);}printf("\nName\t\tNum\tSex\tProfe
ssion\tScore
/Course\n");for(i=0;i<TOTAL;i++){printf("%s\t\t%d\t%c\t%c\t",bodys[i].name,bodys[i].num,
bodys[i].sex,bodys[i].profession);if(bodys[i].profession=='s'){printf("\t%f\n",bodys[i].sc.score);}e
lse{printf("\t%s\n",bodys[i].sc.course);}}voidNONO(){FILE*wf;wf=fopen("a30.out","w");fprintf
(wf,"%d\n",fun(120));fclose(wf);}structlink{intdata;structlink*next;};intmain(){charch='A';structl
inka,*p;p=&a;p->data=10;printf("p->data=\n");scanf("%d",&p->data);printf("ch=\n");scanf("%c",
&ch);printf("CH=%c,data=%d",ch,p->data);}
声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。
Hot degree:
Difficulty:
quality:
Description: the system according to the heat, the difficulty, the quality of automatic certification, the certification of the article will be involved in typing!

This paper typing ranking TOP20

登录后可见

用户更多文章推荐