forked from se-edu/samplerepo-pr-practice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRequest.java
More file actions
25 lines (21 loc) · 845 Bytes
/
Copy pathRequest.java
File metadata and controls
25 lines (21 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
public class Request {
private static final String DIVIDER = "——————————————————————————————————————————————————————";
public static void greeting () {
System.out.println(DIVIDER);
System.out.println("Hello! I'm Luke");
System.out.println("What can I do for you?");
System.out.println(DIVIDER);
}
private static void goodbye() {
System.out.println("Bye");
System.out.println("Time to sleep!");
}
private static void introduction() {
System.out.println("I can help you to manage your tasks!");
System.out.println("I hope that I'm useful to you.");
}
public static void main(String[] args) {
greeting();
goodbye();
}
}