各位大佬麻烦帮忙看下
#include<stdio.h>int main(void)
{
int i,j,a={{'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}} ,b;
for(i=0;(b=getchar())!='\n';i++)
if(a==b||a+32==b)a++;
for(i=0;i<26;i++)printf("%c:%d\n",a,a);
return 0;
}
为什么这个代码输出结果不对
https://fishc.com.cn/thread-206588-1-1.html 我会了,来一个大佬,直接给最佳
页:
[1]