I was solving a problem in C while I came across another problem. Briefly while running the below code the output is 50.009998. How to correct the answer and why is this happening.
#include<stdio.h>
int main()
{
    float x;
    x = 50.000000 + 0.010000;
    printf("%f\n", x);
    return 0;
}
