Skip to content

artkrv/TelesoftasTextWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

TelesoftasTextWrapper

Home assignment

  • It was said to accept two args (text & length).
  • If text argument won't be passed, Wrapper will check the input file.

Arguments:

Text: -t "Green metal stick";
Length: -l 13;

Algorithm:

First I thought there a mistake, as wrapper should take as few lines as possible, so the example should look like:
123
4 1
123
4

  • Then I realized the effect of 'new lines' in input text.
  • Googled for algorithm, transformed it to concrete case.

About

Home assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published