第10周项目2-M$pszi$y是嘛意思?

来源:互联网 发布:上海安畅网络 编辑:程序博客网 时间:2024/05/18 10:04

问题及代码:

/* *Copyright (c) 2014,烟台大学计算机学院 *All rights reserved. *文件名称:ff.cpp *作者:李盈盈 *完成日期:2014年11月3日 *版本号:v1.0 * *问题描述:输入所需翻译的字符,输出代表含义 *输入描述:输入字符 *程序输出:所代表真正的含义 */ #include <cstdio>using namespace std;int main(){    char ch;    while((ch=getchar())!='\n')    {        putchar(ch-4);    }    return 0;}


运行结果:

0 0
原创粉丝点击