void main()
{ double fun_1(a);
double fun_2(b);
double fun_3(c);
int a,b,c,i;
scanf("%d",&i);
switch(i)
{case1:printf("......\n");
scanf("%d",&a);
fun_1(a);
break;
case2:printf("......\n");
scanf("%d",&b);
fun_2(b);
break;
case3:printf("......\n");
scanf("%d",&c);
fun_3(c);
break;
}
}
double fun_1(int a)
{
}
double fun_2(int b)
{
}
double fun_3(int c)
{
}
这样就好了么?