这个C程序错在哪里啦?

来源:百度知道 编辑:UC知道 时间:2024/06/04 21:37:27
#include <stdio.h>
void select(),insert(),update(),delete();
int main()
{
char op;
printf("\n*********************");
printf("\n* Menu selection *");
printf("\n* 1 Select *");
printf("\n* 2 Insert *");
printf("\n* 3 Update *");
printf("\n* 4 Delete *");
printf("\n* 5 Exit *");
printf("\n*********************");
while (l)
{
printf("\n Please enter selection:");
scanf("%c",&op);
switch(op)
{
case'1':select();
break;
case'2':insert();
break();
case'3':update();
break;
case'4':delete();
break;
case'5':break;
default:
printf("\n Selection Enor!");
break;
}
if(op==&#

#include <stdio.h>
void select(),insert(),update(),delete1();
int main()
{
char op;
printf("\n*********************");
printf("\n* Menu selection *");
printf("\n* 1 Select *");
printf("\n* 2 Insert *");
printf("\n* 3 Update *");
printf("\n* 4 Delete *");
printf("\n* 5 Exit *");
printf("\n*********************");
while (1)
{
printf("\n Please enter selection:");
scanf("%c",&op);
switch(op)
{
case'1':select();
break;
case'2':insert();
break;
case'3':update();
break;
case'4':delete1();
break;
case'5':break;
default:
printf("\n Selection Enor!");
break;
}
if(op=