#include<stdio.h> #include<math.h> void main() { float a,b,z; scanf("%f%f",&a,&b); if(a-b>=0) { z=a-b; printf("z=%f\n",z); } else if(a-b<0) z=-a+b; printf("z=%f\n,z"); }
#include<stdio.h> #include<math.h> main() { float a,b,z; scanf("%f%f",&a,&b); if(a-b>=0) { z=a-b; printf("z=%f\n",z); } else { z=-a+b; printf("z=%f\n",z); } }