Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
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.
Midterm practice, turn into for loop
strend
C programming example that implements a modified string length function (from ECE 2534)
Daniel - hw3q2
Reverse.CPP
Add sum.c
PREGUNTA 10 CADENAS
C Array Demonstration
20171116:FUNCIONES
SumIt
Please log in to post a comment.