c how to program 习题2.29

发布于2020-03-12 794 热度

//c how to program 习题2.29
#include <stdio.h>

int main( void )
{
	printf("请输入一个字符:");
	char key;
	scanf("%c", &key);
	printf("%c的整数值是:%d\n", key, key);
} 

记录工作,记录学习,分享知识,分享经验……