Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
domain.com
//gcc 5.4.0 #include <stdio.h> int main(void) { printf("Hello, world!\n"); return 0; }https://play.google.com/store/apps/details?id=vrpatel0018.cprograms /*string encryption and decryption*/ #include<stdio.h> void encrypt(char *dest){ int j=0; do{ dest[j]-=20; j++; }while(dest[j]!='\0'); } void decrypt(char *dest){ int j=0; do{ dest[j]+=20; j++; }while(dest[j]!='\0'); } void main(){ char s[80]; puts("\nEnter the string"); gets(s); printf("\nThe given string : %s",s); encrypt(s); printf("\nEncrypted string : %s",s); decrypt(s); printf("\nDecrypted string : %s",s); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
1233333
Michael Bean's Spring 2017 Lab 3 v1.1
A_141212_IntercambiarValores
Lab6 v0.5 Sin,cos,tan,cot
B_141125_Burbuja
Project 3 part 2 Book v1.1
part 3
Project 3 Part 1 v2
Assignment 4
lab pro v.05
stackse - search stackoverflow differently
Please log in to post a comment.