程序设计语言:第9章 用户自己建立数据类型.pptVIP

  • 0
  • 0
  • 约1.33万字
  • 约 62页
  • 2022-08-02 发布于安徽
  • 举报

程序设计语言:第9章 用户自己建立数据类型.ppt

#include stdio.h struct Student { int num; char name[20]; float score; }; int main() { struct Student stu[5]={{10101,Zhang,78 }, {10103,Wang,98.5}, {10106,Li, 86 }, {10108,“Ling”, 73.5}, {10110,“Fun”, 100 } }; struct Student temp; const int n = 5 ; int i,j,k; 常变量 若人数变为30 30 #include stdio.h struct Student { int num; char name[20]; float score; }; int main() { struct Student stu[5]={{10101,Zhang,78 }, {10103,Wang,98.5}, {10106,Li, 86 },

文档评论(0)

1亿VIP精品文档

相关文档