#include<stdio.h>
#include<string.h>
#define AS 12
#define S 10
struct as {
int q[AS];
char w[AS];
char e[AS];
char t[AS];
};
void b(struct as* pc);
void qq(void);
void aa(void);
void a(struct as ww[]);
void c(struct as ee[]);
int d(struct as* pa);
void e(struct as *pb, int m);
struct as qw[AS];
char q[AS] = "YES";
int j[AS];
int n = 0;
int v,f;
int main(void)
{
char x;
int k = 0;
int l,m;
l = m =0;
for (int z = 0; z <AS; z++)
{
qw[z].q[0] = z;
}
qq();
while (k < S)
{
printf("请输入你的选择:");
while ((scanf_s("%c", &x, 1)) != 1)
{
printf("请输入正确选项:");
aa();
}
switch (x)
{
case 'a':a(qw); aa(); break;
case 'b':b(qw); aa(); break;
case 'c':c(qw); break;
case 'd':l = d(qw); j[m] = l; m++; f++; aa(); break;
case 'e':e(qw, m); aa(); break;
case 'f
C语言编写预定机票程序
最新推荐文章于 2023-08-29 23:21:37 发布