Given a string s as the input, the program must print the pattern as described
in the Example Input/Output section.
Input Format:
The first line contains S.
Output Format:
The pattern as described in the Example Input/Output section.
Boundary Conditions:
2 <= Length of S <= 100
Example Input/Output 1:
Input:
EAGLE
Output:
EAGLE
AGLEE
GLEEA
LEEAG
EEAGL
EAGLE
Your answer
Answers
Answered by
0
khdyksotstisykdlyeyleeyldyodoydyldylcdtkstksyldyldtlstldyldyldlydlydtlstldyldddltdktdtkdkydlyd
Answered by
0
Answer:
EAGLE
AGLEE
GLEEA
LEEAG
Similar questions