Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 695 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 695 Bytes

Programming Challenge - Generate random text and output to file

This challenge was given by Shoppr (the Malaysian startup)


Write a program that will generate four(4) types of printable random objects and store them in a single file, each object will be separated by a ",". These are the 4 objects: alphabetical strings, real numbers, integers, alphanumerics. The alphanumerics should contain a random number of spaces before and after it (not exceeding 10 spaces). The output should be 10MB in size.

Sample extracted output :

hisadfnnasd, 126263, assfdgsga12348fas, 13123.123, lizierdjfklaasf, 123192u3kjwekhf, 89181811238,122, nmarcysfa900jkifh , 3.781, 2.11, ....