1. Insert a link to try out (Ctrl + L): My QQ space
is interesting
2. It seems that ctrl+B can also be used in bold
3. Insert code (Ctrl + K) This is more important // Multiplication table 4. insert picture 5. enhance the title is what the hell to try ## demo markdown ##? ? ? It seems useless 6. horizontal lines , and so on, why there is this, then I am not scared 7. redo What does it mean Hey did not respond to redo forget watching a heavy heart open plush not on line yet 8. Form How to do it? template
class DemoFor99 {
public static void main(String[] args) {
for (int i=1;i<=9 ;i++ ) {
for (int j=1;j<=i ;j++ ) {
System.out.print(i+"*"+j+"="+(i*j)+"\t");
}
System.out.println();
}
}
}
Ctrl + G
Ctrl + H
Ctrl + R
Ctrl + Y
project | price |
---|---|
Graphics card | NVIDIA GTX1050 |
CPU | intel i5 7th |
hard disk | ssd 128G |
OK
9. Code block
import java.util.Scanner;
class demo3_if {
public static void main(String[] args) {
/*System.out.println("请输入学生成绩的范围在1~100之间");
Scanner sc= new Scanner(System.in);
int x=sc.nextInt();
if (x>=90&&x<=100) {System.out.println("优");
}else if (x>=80&&x<=89) {System.out.println("良");
}else if (x>=70&&x<=79) {System.out.println("中");
}else if (x>=60&&x<=69) {System.out.println("合格");
}else if (x>=0&&x<=59) {System.out.println("差");
}else{System.out.println("成绩输入错误");
}*/
System.out.println("请输入一个整数");
Scanner sc= new Scanner(System.in);
int x=sc.nextInt();
int y=0; //初始化y
if (x==3) {y=2*x;
}else if (x>3) {y=1*x;
}
System.out.println(y);
So it turns out that you need these things to appear code blocks, but what are the points "` double quotes + single quotes?
"'? It’s not like looking back and asking
10.UML
You can render sequence diagrams:
Or flow chart:
"`flow
st=>start: start
e=>end: end
op=>operation: my operation
cond=>condition: confirm?
ST-> the Op-> cond
cond (Yes) -> E
cond (NO) -> OP
11. The [TOC]
generating directories:
[insert link used [TOC]
to generate a table of contents:
[insert link]
[Insert link]
[Table of Contents] Um will not be used
12. Footnotes
a prude footnote 1 .
- Baidu Encyclopedia has already seen a footnote, I did not think he could do this
, but how to set the second ah ↩