Discuss / Java / 交作业

交作业

Topic source

-不要回答

#1 Created at ... [Delete] [Delete and Lock User]

public class Main {

public static void main(String[] args) {

int age = 7;

        boolean isPrimaryStudent = age>6 && age<12 ;

        System.out.println(isPrimaryStudent ? "Yes" : "No"); 

}

}


  • 1

Reply