L


私信TA

用户名:1302759659

访问量:2151

签 名:

等  级
排  名 859
经  验 3477
参赛次数 0
文章发表 13
年  龄 17
在职情况 学生
学  校 广西英华国际职业学院
专  业 软件技术

  自我简介:

TA的其他文章

参考代码:

import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //从什么到什么一共经过了几天
        System.out.println(LocalDate.of(sc.nextInt(), sc.nextInt(), sc.nextInt()).until(LocalDate.of(sc.nextInt(), sc.nextInt(), sc.nextInt()), ChronoUnit.DAYS));
    }
}


 

0.0分

1 人评分

看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:

编程语言转换

万能编程问答  

代码解释器

代码纠错

SQL生成与解释

  评论区

这答案也不对啊!误人子弟吧
2024-05-10 21:06:23
  • «
  • 1
  • »