#include<stdio.h> int main() { int a,b,sum; a=123; b=456; sum=a+b; printf("sum is %d ",sum); return 0; }
#include<stdio.h> int main() { char c1,c2; c1=97; c2=98; printf("c1=%c,c2=%c ",c1,c2); printf("c1=%d,c2=%d ",c1,c2); return 0; }
#include<stdio.h> int main() { char c1,c2; c1=197; c2=198; printf("c1=%c,c2=%c ",c1,c2); printf("c1=%d,c2=%d ",c1,c2); return 0; }
#include<stdio.h> #include<math.h> void main() { float x,y,z; int a; scanf("%f",&x); scanf("%f",&y); y=fabs(y); z=x+1/y; a=z; printf("%d ",z); printf("%15.6f ",z); printf("%e",z); return 0; }