#include <stdio.h>
#include <stdlib.h>
//不同品牌出租车收费
int main()
{
int cartype,sum;
printf("请输入乘车车型:1:捷达;2:速腾;3:红旗 \n");
scanf("%d",&cartype);
printf("请输入公里数:");<
C语言 不同品牌出租车收费
最新推荐文章于 2023-01-30 11:23:44 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
#include <stdio.h>
#include <stdlib.h>
//不同品牌出租车收费
int main()
{
int cartype,sum;
printf("请输入乘车车型:1:捷达;2:速腾;3:红旗 \n");
scanf("%d",&cartype);
printf("请输入公里数:");<