标签:com png lse ima http char int alt clu
#include <stdio.h>
int main()
{
int a,b,sum;
a=123;
b=456;
sum=a+b;
printf("sum is %d\n",sum);
return 0;
}
#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()
{
double x,y,z;
scanf("%f%f",&x,&y);
if(y>=0)
{ z=x+1.0/y;
printf("%d,%f15.6,%e",z,z,z);}
else
{z=x+1.0/(-y);
printf("%d,%f15.6,%e",z,z,z);}
return 0;
}
标签:com png lse ima http char int alt clu
原文地址:https://www.cnblogs.com/p201821430032/p/10689354.html