这是什么情况??是程序出问题了吗
package zh.codegym.task.task04.task0414;
/*
这一年包含的天数
*/
import java.util.Scanner;
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//在此编写你的代码
Scanner sc = new Scanner(System.in);
int num = sc.nextInt();
if(num%4!=0){
System.out.println("这一年的天数:365");
}else{
System.out.println("这一年的天数:366");
}
}
}