Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C by registered user 110010019 ( 5 years ago )
#include <stdio.h>
#include <string.h>
int main(void)
{
char ch[1005]={'\0'};
int length=0,j=1,i=0,t=0;
scanf("%s",&ch);
length=strlen(ch);//輸入字串的長度
for(j=1;j<=length;j++)
{
t=j;
for(t=j;t<=length;t++)
{
printf("%c",ch[t]);
}
for(i=0;i<j;i++)
{
printf("%c",ch[i]);
}
printf("\n");
}
return 0;
}
Revise this Paste