C语言:输入一个字符,输出ASCII码比它大5的字符

Posted by: NOTEPAD 2015年11月17日 一条评论

#include<stdio.h>
int main()
{
	printf("请输入一个字符:");
	char c;
	scanf("%c",&c);
	printf("输出ASCII码比它大5的字符:%c\n",c+5);
	return 0;
}
  1. Just hopped onto hi888win. Pretty standard fare, to be honest. The layout’s easy to navigate, which is a plus, but nothing super groundbreaking. Have you tried it yet at hi888win?

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注