diff --git a/Character Stuffing b/Character Stuffing new file mode 100644 index 00000000..ff7e0e3c --- /dev/null +++ b/Character Stuffing @@ -0,0 +1,36 @@ +#include +using namespace std; +int main() +{ + char so[100],data[100]; + cout<<"Enter the text: "; + cin>>so; + char flag,bit; + cout<<"enter the flag: "; + cin>>flag; + cout<<"enter the character: "; + cin>>bit; + + int size=strlen(so); + data[0]=flag; + int i,j; + for(i=0,j=1;i