摘要:
public class Switch3 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.out.println("请输入当前月份:"); int month=sc.nextIn 阅读全文
posted @ 2022-06-15 13:34
湖里小鲨鱼
阅读(292)
评论(0)
推荐(0)
摘要:
根据用于指定月份,打印该月份所属的季节。其中3,4,5为春季,6,7,8为夏季,9,10,11为秋季,12,1,2为冬季。 public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.out.p 阅读全文
posted @ 2022-06-15 12:49
湖里小鲨鱼
阅读(457)
评论(0)
推荐(0)

浙公网安备 33010602011771号