Problem Description: 44159363
1#include"stdafx.h"2 3 intMain ()4 {5 CharC' /');6 7 while(c! ='\ n')8 {9 //C = GetChar ();Tenscanf_s ("%c", &c); One A //Encryption Situation - if ( -(C < -&& C > the) the|| -(C >119&& C <123) -|| -(C < the&& C > the) +|| -(C > the&& C < -) + ) A { at //Lowercase Letter Encryption - if(C < -&& C > the) - { -Putchar (c +4); - } - if(C >119&& C <123) in { -Putchar (C- -+98); to } + - //Uppercase Encryption the if(C < the&& C > the) * { $Putchar (c +4);Panax Notoginseng } - if(C > the&& C < -) the { +Putchar (C- the+ $); A } the } + //The rest of the situation is not encrypted - Else $ { $ Putchar (c); - } - } the - return 0;Wuyi}
Feelings:
Code appears to be encrypted by character (character) only;
However, because of the existence of buffers , code on the result of the implementation of the entire string (strings ) encryption/conversion;
=
"C Language and Programming" Project 1-36-2: In-turn encryption