'c ' repeat how to remove it

#include
#include
using namespace std;
int main() {
string s;
cin>>s;
int d,i;
// d=s[i]-s[i-1];
// cout<<s[i]<<d<<s[i-1];

int l=s.length();
if(l>1 &&l<=1000){
	for(i=1;i<l;i++){
		int d;
		d=s[i]-s[i-1];cout<<s[i-1]<<d<<s[i];
	}
	

}
return 0;

}

Hello @yashtripathi6969_0cd127807d833066,
Pls always try to mention your complete doubt with the code. It becomes difficult to understand what yo are asking.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.