Write a program that takes in a string (all characters in string are UPPERCASE) from

profileadelen
 (Not rated)
 (Not rated)
Chat
Write a program that takes in a string (all characters in string are UPPERCASE) from the user and converts it to a code. The code is generated as follows: 1) Create a random number between 1 to 25. (for eg. : a value of 3 is randomly generated) 2) Shifl the character in the string by that many spaces to the right.(‘ A -' D. B -t E ,C -+ F etc) The full example table is shown below (notice the code for the original characters X, Y. Z!) 3) Print out the code onto screen along with the shift value. Ex lc On at OUTPUT SHOWN IN BLUE INPUT IN RED Please enter your string (UPPERCASE): EXTRACREDIT The code generated is IIAWUDFUI and the shift value is 3. Note: You can assume the user is nice and enters only uppercase string. complete question in image attached
  • 8 years ago
the answer 100 % correct answer. in c++
NOT RATED

Purchase the answer to view it

blurred-text
  • attachment
    program.zip