Skip to content

AhmedARmohamed/Coding-Challenges-CCWC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

javaccwc

Go solution to Coding Challenges first challenge: build your own wc tool

Testing

Step 1

java org.haykal.Main -c test.txt
  342190 test.txt

Step 2

java org.haykal.Main -l test.txt
    7145 test.txt

Step 3

% wc -w test.txt
   58164 test.txt
java org.haykal.Main -w test.txt
58164   test.txt

Step 4

java org.haykal.Main -m test.txt
  339292 test.txt

Step 5

% wc test.txt
    7145   58164  342190 test.txt
java org.haykal.Main test.txt
7145    58164   342190  test.txt

Step 6 (Final Step)

cat Test.txt | java org.haykal.Main -l
7145

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages