Skip to content

laxmikantm/FlipBlobJavaAssignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

FlipBlobJavaAssignment

/**

  • Text blob generator takes an instruction string
  • Generates a blob of text using the characters a to f, (should loop back to a if number of letters to be generated is more than 6)
  • Then pads the blob with dashes to either the left or right depending on the padding style,
  • or no padding if no padding style defined
  • eg. if input instruction string:
  •  addLettersFor:3-loops,padLeftFor:5-loops,padRightFor:6-loops,paddingStyle:left
    
  • output should be:
  •  -----abc
    
  • eg. if input instruction string:
  •  addLettersFor:8-loops,padLeftFor:5-loops,padRightFor:7-loops,paddingStyle:right
    
  • output should be:
  •  abcdefab-------
    
  • eg. if input instruction string:
  •  addLettersFor:8-loops,padLeftFor:5-loops,padRightFor:7-loops
    
  • output should be:
  •  abcdefab
    
    1. fix the compile issues and run the main method
    1. correct any mistakes in logic
    1. Make the code cleaner (refactor and simplify classes)
    1. test that it works as intended */

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages