feat: ex 2c
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
|||||||
*.pdf
|
*.pdf
|
||||||
|
sheet01/a2/Hash.java
|
||||||
|
*.class
|
||||||
1
sheet01/a2/c-hash.txt
Normal file
1
sheet01/a2/c-hash.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
03087115
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
javac Hash.java (Compiles the java class)
|
||||||
|
java Hash plaintext.txt (runs the custom Hash function on the text file)
|
||||||
|
Output: 03087115
|
||||||
Reference in New Issue
Block a user