#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
int i,j,m;
int b,num=0,x;
int s[99],t[99],c[30]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,};
char d[22][3];
char h;
char a[22][100];
strcpy(a[1],"C程序的基本组成单位是函数\n");
strcpy(a[2],"C程序可以由一个或多个函数组成\n");
strcpy(a[3],"每个C程序中都必须要有一个main()函数\n");
strcpy(a[4],"C程序中注释部分可以出现在程序中任意合适的地方\n");
strcpy(a[5],"C程序中一行可以写多条语句\n");
strcpy(a[6],"C程序的执行总是从main函数开始,在main函数结束\n");
strcpy(a[7],"++(i+1);是非法的赋值语句\n");
strcpy(a[8],"用户标识符中不可以出现中划线,但可以出现下划线\n");
strcpy(a[9],"C语言中,Area与area是不同的标识符\n");
strcpy(a[10],"除逗号运算符外,
制作一个简单答题系统
最新推荐文章于 2023-07-03 18:55:20 发布
这个C语言程序创建了一个包含20道判断题的答题系统。用户需对每道题输入答案't'或'f',程序会检查并给出回答是否正确,同时显示得分、正确率以及答错的题目序号。
摘要由CSDN通过智能技术生成