import java.util.Scanner; class D { public static void main(String[] args) { Scanner s= new Scanner(System.in); System.out.println("请输入一个数:"); int b = s.nextInt(); int a=0,c=0; if (a <= 0 || a >= 20) { System.out.println(); } if (b >= 20 || b <=100) { System.out.println((b-a)*0.2+a); } if (c>100) { System.out.println(); } } }
by: 发表于:2017-05-25 13:48:07 顶(0) | 踩(0) 回复
??
回复评论