标签:code mic src ret info math oat stdio.h image
#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()
{
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;
}
#include<stdio.h>
#include<math.h>
main()
{
float x,y,z;
int a;
scanf("%f %f",&x,&y);
//y=fabs(y);
z=(x+1)/fabs(y);
a=z;
printf("%d\n",a);
printf("%15.6f\n",z);
printf("%e\n",z);
return 0;
}
标签:code mic src ret info math oat stdio.h image
原文地址:https://www.cnblogs.com/P201821440029/p/10670553.html