Skip to content

create 5 homework files#1

Open
Jericaran wants to merge 1 commit intomainfrom
homework2_20201021
Open

create 5 homework files#1
Jericaran wants to merge 1 commit intomainfrom
homework2_20201021

Conversation

@Jericaran
Copy link
Copy Markdown
Owner

20201021 create 5 java files for homework2

Comment thread HomeWork2_617.java
import java.util.Scanner;
public class HomeWork2_617 {
public static void main(String[] args){
Scanner input = new Scanner(System.in);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scanner最后没有close,其他地方也是一样

Comment thread HomeWork2_64.java
System.out.print(number%10);
number /= 10;

}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里缩进有点问题,以后最好注意一下

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的,我下次注意,谢谢学长!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants