Scrambled Alphabet:1. Line up the letters of the keyword together with the alphabet: WORLDCUPFEVERABCDEFGHIJKLMNOPQRSTUVWXYZ2. Pick out all the letters, one at a time, and if a letter occurs a second time, it isremoved. WORLDCUPFEVABGHIJKMNQSTXYZ3. The message is scrambled by using the following steps The spaces are replaced by the letters “QN” All letters are capitalized The message now becomes:“THEQNSEMIFINAL…….” Now substitute using the following rule. Take the right mate of the letter in thescrambled alphabet and replace the letter found in the message:“XIVSQTVNJEJQBD….”

i have to use strings and slices. for loops as well. they want me to do this as best as i can without built in functions.