1.Ture form , radix-minus-one , complement
2. Bitwise operator
3. Sequential control
4.If - else
import java.util.Scanner
public class if{
public static void main(String[] args) {
Scanner myscanner = new Scanner(System.in);
System.out.println("请输入分");
int score = myscanner.nextInt();
if(score == 100){
System.out.println("good");
}else if(score > 80 && score){
System.out.println("great");
}else if(score >= 60 && score <= 80){
System.out.println("soso");
}
}
}
5.Switch
6.for
7.while
8.do while
9.Nested loop
10.break
11.continue
12.return
The knowledge learning in the article comes from: