主观

将从键盘输入的某个学生的学号、姓名和成绩保存至结构型变量并输出。

include

typedef struct student

{

  int no;

  char name[20];

  float score;

}___①____;   /*第一空*/

void main()

{

   STU st;

   scanf("%d%s%f", &st.no,___②____,&st.score);   /*第二空*/

   printf("No:%d\nName:%s\nScore:%.1f\n",___③____);   /*第三空*/

}

参考答案
您可能感兴趣的试题
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服