#include<stdio.h>
int main()
{
char c1,c2;
c1=97;
c2=98;
printf("c1=%c,c2=%c\n",c1,c2);
printf("c1=%d,c2=%d\n",c1,c2);
return 0;}

 

#include<stdio.h> int main() {  float x,y,z;  scanf("%f,%f",&x,&y);      if (y<0)    y=-y;   z=(x+1)/y;   printf("%d,%15.6f,%e",z,z,z);   return 0;

  }

#include<stdio.h> int main() { char c1,c2; c1=197; c2=198; printf("c1=%c,c2=%c\n",c1,c2); printf("c1=%d,c2=%d\n",c1,c2); return 0; }

 

 


posted on 2019-04-11 14:27  二天一流  阅读(104)  评论(0编辑  收藏  举报