Java

首页 / 编程代码 / 正文

System.out.printn("清綸入釈分7;

int fen = sc.nextlnt();

if (fen < 2000) [

shop *= 0.9;

System out.printin(" 目前消燹" + shop +"元"; ] else if (fen >= 2000 && fen <= 4000) f

shop"= 0.8;

System.out.println(" @iRî)Ä" + shop + "7t");]elseif(fen<=8000&&fen>4000)(

shop *= 0.75;

System.out.println(" 8 ijWB" + shop + "7"); ] else if (fen > 8000) (

shop *= 0.7;

System.out.println(" BhÚ)#" + shop + "5T"); ] else

System.out.printn("抱歉没有折扣");

View Code

无标签
打赏
评论区
头像