Its Japaneese SHort Poem which we are going to store and print randomly the poem and its english translation.
- Create an array of haikus.
- Create an empty array of size of totalNumber of lines in all the haikus.
- Create an empty array to maintain random number log
- Write random number generating function
- Run loop on array of haikus
- Pick each haikus and sperate the lines by ",".
- call random number function then check that number exists in the log or not
- if it exists then recall the function.
- else use the random number as index to allocate the line to corresponding index in the array
- The final array(size = totalNumber of lines) will contain lines of haikus randomly seperated.