有意思的译密码

#include
int main()
{
	char c1 = 'C', c2 = 'h', c3 = 'i', c4 = 'n', c5 = 'a';
	c1 = c1 + 4;
	c2 = c2 + 4;
	c3 = c3 + 4;
	c4 = c4 + 4;
	c5 = c5 + 4;
	printf("password is %c%c%c%c%c%c\n", c1, c2, c3, c4, c5);
	return 0;
}

将China译成密码。规律是用原来的字母后面4个字母代替原来的字母,因此China译成Glmre

有意思的译密码_第1张图片

 

你可能感兴趣的:(蓝桥杯,c语言,职场和发展)