摘要:
一、本周完成作业 基础函数题 1.实验代码 int set_grade( struct student *p, int n ) { int count=0,i; for(i=0;i<n;i++) { if((*p).score<60) { (*p).grade='D'; count++; } els 阅读全文
摘要:
一.本周完成作业 第四周作业(预习题)7-1 统计一行文本的单词个数 1.实验代码 #include<stdio.h>#include<string.h>int main(void){ char a[1000]; gets(a); int m, i, j; m = strlen(a); if (a[ 阅读全文