求大佬指点,不知道为什么全错
查看原帖
求大佬指点,不知道为什么全错
1117343
Buhuibiancheng0_0楼主2023/10/2 12:12
import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		if (a==1||a==0)System.out.println("Today,I ate"+" "+a+" "+"apple.");
		else System.out.println("Today,I ate"+" "+a+" "+"apples.");
	}

}```
2023/10/2 12:12
加载中...