00问答网
所有问题
当前搜索:
if语句超市打折
java编写
超市
大
优惠
满800元以上输出打6折,满600元以上输出打7折,满...
答:
public static void main(String[] args) { // 消费金额 int amount = 0;
if
(amount >= 800) { System.out.println("打6折"); } else if(amount >= 600) { System.out.println("打7折"); } else if(amount >= 400) { System.out.println("打8折...
做VB程序设计,在
超市
买东西五百块以上的东西打八折,200到500之间打九...
答:
if
a>=500 then a=a*0.8 elseif a>=200 and a<500 then a=a*0.9 end if msgbox “需要支付" & a &“元”参考资料:a
用c语言编写
超市
商品管理系统 每一步旁边希望有小小的解释 希望会的...
答:
if
(chi==1) input();else if(chi==2) change();else if(chi==3) dele();else if(chi==4) search();else if(chi==5) { printf("你已经退出
超市
商品管理系统!\n"); exit(0);} else { printf(" You Enter The Choice Is Not valid ! \n"); } } void input() //数据...
pascal 某
超市
为了促销,规定:购物不足50元的按原价付款,超过50不足10...
答:
i:Integer;s:real;Begin Readln(i);
If
i>50 Then Write(50+(i-50)*0.9:0:2)Else Write(i);End.
C语言
if
和switch的嵌套
答:
{ case 5月14:在家睡觉 break;case 5月16:
if
(工作日){ 上班 } break;case 5月25:if (今天不加班) { 去看电影 } else{ 继续上班 } break;case 5月29:if (放假){ switch(目的地){ case
超市
:采购 break;case 酒吧:勾引MM break;case 家:继续宅 break;} } break;} ...
【急!】c语言for
语句
循环结构(求小明应付金额具体如题!!)
答:
printf("每个物品的价格:\n"); scanf("%.1f",&b[i]); sum += b[i]; }
if
(sum<300) /*条件判断*/ { printf("应付款:%.1f",sum); } else if(sum>=500) { printf("应付款:%.1f"
vb实验题:(1)
超市
促销活动如下:购物金额>2000元反现15%;1500元<购物...
答:
vb实验题:(1)
超市
促销活动如下:购物金额>2000元反现15%;1500元<购物金额≦2000元返现10%;1000元<购物金额≦1500元返现8%;购物金额≦1000元返现3%。试编写程序实现:根据购物金额,系统自动算出应付金额。利用selectcase
语句
实现。(2)完成“健康称”程序设计。用户输入身高h(cm)和体重w(kg)。身高与标准体重的换算...
if
引导的宾语从句和宾语从句5句
答:
1、I think you are great.我认为你很棒。2、I think it necessary that we take plenty of hot water every day .我认为每天多喝开水是有必要的。3、I guess he is Jack.我猜他是杰克。4、I know there is a supermarket near here.我知道附近有
超市
。5、I wonder
if
there is a WC ...
java编写程序实现某
超市
商品查价功能。从键盘输入商品号,显示对应的...
答:
}else
if
(num.equals("n")){ System.out.println("谢谢使用");break outer;} } } } } class Goods{ public Goods(int id, String name, int price){ this.id = id;this.name = name;this.price = price;} private int id;private String name;private int price;public int getId() ...
这双鞋在
超市
的售价是120元 请翻译
答:
1. This pair of shoes retail at RMB 120 in the supermarket.2.
If
you really want to get this job, you have to be well prepared for this interview.3. computer technology develped repidly.1、网上聊天是一种和远方朋友保持联系的好方式。2、乔布斯在1979年访问施乐的研究实验室时,...
1
2
3
4
5
6
7
8
涓嬩竴椤
其他人还搜
if语句某商场实施打折活动
如何用if求出打折的价格
c语言switch语句打折程序
c语言打折输出折扣问题
c语言商场进行打折促销活动
c语言超市打折
c语言超市购物打折
if elif else语句的执行流程
用if计算折扣