Question: xkrk SPECIAL PROBLEM 2*i** Create a C++ program that can decode words. To decode a word, the letters of a word is rotated N number

xkrk SPECIAL PROBLEM 2*i** Create a C++ program that can decode words. To decode a word, the letters of a word is rotated N number of times to the left, forming a new word. In addition, note that a suffix can be added from time to time. SAMPLE INPUT: putercomwhey 3 4 ldhelloworwaray 8 5 Rules: egaggmukamo 4 6 - The input file consists of one or more nes of test cases, all of which has three elements: the encoded word, the number of rotations N and the length of suffix , where N is an integer and is a string of characters SAMPLE OUTPUT computer helloworld giggle The output is the decoded word, one per line of input. L-- FILENAME: specialprob2_surname.cpp xkrk SPECIAL PROBLEM 2*i** Create a C++ program that can decode words. To decode a word, the letters of a word is rotated N number of times to the left, forming a new word. In addition, note that a suffix can be added from time to time. SAMPLE INPUT: putercomwhey 3 4 ldhelloworwaray 8 5 Rules: egaggmukamo 4 6 - The input file consists of one or more nes of test cases, all of which has three elements: the encoded word, the number of rotations N and the length of suffix , where N is an integer and is a string of characters SAMPLE OUTPUT computer helloworld giggle The output is the decoded word, one per line of input. L-- FILENAME: specialprob2_surname.cpp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
