C++ | Read in Code.Can ONLY use While, If, Else.Can NOT use BREAK, FOR, CASE.1) Print “Enter the cod

C++ | Read in Code.Can ONLY use While, If, Else.Can NOT use BREAK, FOR, CASE.1) Print “Enter the code: “2) Take user input for code.3) Make sure there are not less than 264) One character for every letter of alphabet5) Output the code as shown6) Print “Incoming message: “7) Take user input for code8) Print “Coded message: “9) Encode the Message then Print it.10) Print “Do you want to play again (Y/N)?11) Take user input if they do or do not want to play againEXPECTED OUTPUTAttachment 1Attachment 2Read in a code" one character for each ofthe letters ofthe alphbet.Next. read in a message. Entode the message using the (ode. Repeat. For examp‘e‘. Enter the code: QiERTYUJOPASDFGHUKLZXCVBNM The code is:mmmmmmmmmmmmmmmmmmmmmmmmmmIncoming message: Aacn EFG: HIZI! (Dded lESSagE: WEI? TV": I“)! Do you want to play again (YIN)? N ALSO] You have to check that there are enough characters in the code. For example: Enter the (ode: [WE CmE IS ENTERED WHICH IS LESS THAN 26 (HARAETERS]The mde is nut big enough! Do you want to play again (YIN)? Y [CENTINUIE]

Don't use plagiarized sources. Get Your Custom Essay on
C++ | Read in Code.Can ONLY use While, If, Else.Can NOT use BREAK, FOR, CASE.1) Print “Enter the cod
For $10/Page 0nly
Order Essay
Calculator

Calculate the price of your paper

Total price:$26

Need a better grade?
We've got you covered.

Order your paper