题目内容
若运行时输入:4.4<回车>,则以下程序的运行结果是 。#include int main( ){ float costprice,sellingprice;printf("Enter Cost Price $:");scanf("%f",&costprice);if(costprice>=5){ sellingprice=costprice+costprice*0.25;printf("Selling Price(0.25)$%6.2f",sellingprice);}else{ sellingprice=costprice+costprice*0.30;printf("Selling Price(0.30)$%6.2f",sellingprice);}return 0;}
查看答案
搜索结果不匹配?点我反馈
更多问题