关系到C语言挂科问题,救命啊,他给我们最后机会,给了我们这个题目,救命啊orz,怎么办Write a C program to improve your score!MUST be turn in to 10.10.144.100 before March 12 midnight!NO EXCEPTION!The following is a student
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 15:14:21
关系到C语言挂科问题,救命啊,他给我们最后机会,给了我们这个题目,救命啊orz,怎么办Write a C program to improve your score!MUST be turn in to 10.10.144.100 before March 12 midnight!NO EXCEPTION!The following is a student
关系到C语言挂科问题,救命啊,他给我们最后机会,给了我们这个题目,救命啊orz,怎么办
Write a C program to improve your score!
MUST be turn in to 10.10.144.100 before March 12 midnight!
NO EXCEPTION!
The following is a student’s home work STANDARD solution.
2 A 4 D 6 D 8 C 10 A 12 D 14 C 16B 18 A 20 C 22 C 24A 26 A 28 B 30 D 32 A 34 B 36C 38C 40B 42D 44 D 46 A 48C 50 A 52D 54A 56D 58 B 60 A 62D 64C 66C 68C 70B 72A 74D 76A 78D 80D
One student got answer: 2.A 4D 6D 8C 10A 12.,A 14B 16D 18A 20,C 22C 24A
26A 28B 30D 32;A 34B 36’C 38C 40B 42D 44A 46A 48A 50)A 52C 54)C 56D 58B 60D 62C 64C 66C 68C 70]B
72A 74D 76}C 78C 80D
Here ‘s , } ] ) ; ‘ . , not part of answer.
Try to write a c program to find how many points the student being earned and print it out.
Importance: your input must be same as above (student answer) exactly.
邮箱[email protected]
谁可以编好发给我
关系到C语言挂科问题,救命啊,他给我们最后机会,给了我们这个题目,救命啊orz,怎么办Write a C program to improve your score!MUST be turn in to 10.10.144.100 before March 12 midnight!NO EXCEPTION!The following is a student
#include
main()
{ char sta[100]="add."; //标准答案
char u,*a;
int n=0;
a=sta;
do
{ if(u=getchar()==*a)
n++;
}while(*a++!='\0');
printf("得分%d",n);
}
自己在看一下! 基本这样