//lab6_1.c #include void main() { float x,y,z; int a,b=0,m,n; scanf("%f",&x); y= x - (int) x; // y is the fraction a=(int) x; while (a > 0) { b=b*10 + (a % 10); a=a/10; } z=y+b; printf("%f\n",z); }