Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  e:\saeed3
Language: C/C++
Code:
#include<stdio.h>
#include<conio.h>
#include<iostream.h>
main()
{
char s[200];
char enc[200];
int a,b,c,i;
clrscr();
gets(s);
b=128;
for(i=0;s[i];i++)
{a=(int)s[i];
c=a^b;
enc[i]=c;
}
enc[i]='';
puts(enc);
getch();
}
          
          
          
          
Comments: