When the values are equal by using the equality operator , output shows Failure instead of success. Is this the problem with versions of compilers? Screen shot of the program attached
void main()
{
float k = 0.1;
if (k == 0.1)
printf("Success");
else
printf("Failure");
}