#include <stdio.h>

int main() {
    char a,b;
    int k,c,m;
    char x[100000];
    scanf("%c %c %d",&a,&b,&c);
    m=a;
    for(int j=a;j<=b;j++)
    {
        x[j]=j;     
    }
   for(k=1;k<c;k++,m++)
   {
        x[k+b]=x[m];
    }
    for(int i=a+k-1;i<b+k;i++)
    {
       printf("%c",x[i]);
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: