麻烦看看错在哪里?

#include <stdio.h>
#include <stdlib.h>

int main() 
{
    double flowerprice;
    printf("一个夜黑风高的夜晚,一个小男孩给一个小女孩送了一束鲜花\n"); 
    printf("小女孩问小男孩鲜花的价格:这花多少钱?\n");
    printf("小男孩说:");
    scanf("flowerprice=%lf",&flowerprice);
    if(flowerprice>999999)
        {
        printf("小女生直接晕倒过去\n");
        }
    else if(flowerprice>=100000 && flowerprice<=999999)
        {
        printf("明天就结婚\n");
        }
    else if(flowerprice>=10000 && flowerprice<100000)
        {
        printf("拉拉手,意思意思\n");
        }
    else 
        {
        printf("好吧,我们还是朋友\n");
        }
    return 0;
}

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值