include <stdio.h>
int main()
{
double a,b,c,d,e;
char op;
printf("\nEnter the first complex number:");
scanf("%lf%lf",&a,&b);
printf("\nEnter the second complex number:");
scanf("%lf%lf",&c,&d);
printf("Enter the operator:");
scanf("%c",&op);
printf("%c",op);
}
这个语句未能正常执行,大家帮忙看看?
你把最后 printf 的 %c 改成 %d 就看出来问题所在了