#include<stdio.h>
#include<math.h>
const double PI=acos(-1.0),e=exp(1.0);
int main()
{
printf("%f %f\n",PI,e);
char temp;
while (1)
{
scanf("%c",&temp);
temp=char(temp&'_');
printf("%c",temp);
char T='A';
T=char(T|' ');
printf("%c\n",T);
}
return 0;
}
昨天仔细地分析了一下,的确是这样子的,只是这种思想从来没有想过,哎,头脑不够用呀!