main() { char c1,c2 scanf("%c",&c1):c2=c1-32; prantf("%c",c2); {
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 08:32:14
main(){charc1,c2scanf("%c",&c1):c2=c1-32;prantf("%c",c2);{main(){charc1,c2scanf("%c",&c1):c2=c1-32;p
main() { char c1,c2 scanf("%c",&c1):c2=c1-32; prantf("%c",c2); {
main() { char c1,c2 scanf("%c",&c1):c2=c1-32; prantf("%c",c2); {
main() { char c1,c2 scanf("%c",&c1):c2=c1-32; prantf("%c",c2); {
main()
{
char c1,c2;
scanf("%c",&c1);
c2=c1-32;
printf("%c",c2);
}
利用了ASCII码值进行字符转换