Skip to content

Commit 00b0a4c

Browse files
committed
checked coding standard and quality
1 parent fb94eb6 commit 00b0a4c

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

data/duke.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
T | 1 | 1
2-
T | 0 | 2
1+
T | 1 | 2
32
T | 1 | read book
43
D | 0 | askdfsoief as kjsa lf | SFJ
54
T | 1 | readbook

docs/README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,32 +52,31 @@ TaskManager is a simple yet powerful Java application designed to help users man
5252
list
5353
```
5454
### Expected output
55-
```
55+
5656
Here are the tasks in your list:
5757
1. [T][ ] read book
5858
2. [D][ ] return book (by: Sep 17 2021)
5959
3. [E][ ] project meeting (from: Sep 17 2021 to: Sep 18 2021)
60-
```
60+
6161
6262
## Deleting a task
6363
### prompt
6464
- delete {task number}
6565
66-
_e.g. deleting task 3_
66+
_e.g. deleting 3_
6767
```
6868
delete 3
6969
```
7070
### Expected output
71-
```
71+
7272
Noted. I've removed this task: {task number}
73-
```
7473
this can be verified by listing all tasks:
75-
```
74+
7675
list
7776
Here are the tasks in your list:
7877
1. [T][ ] read book
7978
2. [D][ ] return book (by: Sep 17 2021)
80-
```
79+
8180
8281
## Marking a task as done
8382
### Prompt
@@ -88,9 +87,8 @@ TaskManager is a simple yet powerful Java application designed to help users man
8887
mark read book
8988
```
9089
### Expected output
91-
```
90+
9291
Nice! I've marked this task as done: {task name}
93-
```
9492
this can be verified by listing or finding tasks:
9593
```
9694
list
@@ -129,11 +127,18 @@ this can be verified by listing all tasks:
129127
find book
130128
```
131129
### Expected output
132-
```
133130
Here are the matching tasks in your list:
134131
1. [T][ ] read book
135132
2. [D][ ] return book (by: Sep 17 2021)
136-
```
133+
134+
## Exit Program
135+
### prompt
136+
- bye
137+
138+
### Expected output
139+
```
140+
Bye. Hope to see you again soon!
141+
```
137142
### Prerequisites
138143
139144
- Java 11 or above.

0 commit comments

Comments
 (0)