World Languages, asked by jayashankars111, 4 months ago



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 arnab6321
0

khdyksotstisykdlyeyleeyldyodoydyldylcdtkstksyldyldtlstldyldyldlydlydtlstldyldddltdktdtkdkydlyd

Answered by chioma25
0

Answer:

EAGLE

AGLEE

GLEEA

LEEAG

Similar questions