各位大神哪段代码有问题
#include<stdio.h>
int main()
{
double dache = 12;//打车费赋值
double qianbao = 11.5;//钱包里的钱赋值
printf("是否可以打车回家:");
printf("%c\n", qianbao > dache ?'y':'n');
return 0;
}
#include<stdio.h>
int main()
{
double dache = 12;//打车费赋值
double qianbao = 11.5;//钱包里的钱赋值
printf("是否可以打车回家:");
printf("%c\n", qianbao > dache ?'y':'n');
return 0;
}
2018-11-22
举报