In HTML and Javascript for JSFiddle.
We are going to create bins for each word, and record theposition of the instances of the words in the proper bins. So writea program that first has a series of bins
to
be
or
not
Because the word to occurs in positions 1 and5, the bin for the word to will contain 1 and5
to: 1, 5
be: 2, 6
or: 3
not: 4
Write an program that will take the phrase, create bins for eachword, and then record the instance position of each word in thebin. It will then output each bin (word) and the locations of theword in the phrase. So if
PayPal Gateway not configured
PayPal Gateway not configured