Home > Back-end >  The small white for help
The small white for help

Time:01-06

Help me this program where wrong
#include
#include
#include
Int main ()
{
Char a [100], [100] b;
Int j, I, s, n, r, q);
The scanf (" % s ", a);
The scanf (" % s ", b);
The scanf (" % d ", & amp; s);
M=strlen (a);
N=strlen (b);
For (I=s; i{
A + n] [I=a, [I].
}
R=s;
For (q=0; Q{
[q] a [r]=b;
R++;
}
Printf (" % s ", a);
}
When in BEIJING 123 3 G J will become at last

CodePudding user response:

 
For (I=s; i{
A + n] [I=a, [I].
}


Change

 
For (I=m - 1; I>=s; - I)
{
A + n] [I=a, [I].
}

CodePudding user response:

I want to ask that why I BEIJING followed an @?
  • Related