#include <iostream>
using namespace std;
int main()
{
float a,b,c;
cout<<"Enter a=";
cin>>a;
b=a + (1-1);
cout<<"a + (1-1)="<<b<<endl;
c=(a+1)-1;
cout<<" (a+1)-1="<<c;
getchar();
}
Here is a is till 1E-7
c gives us a value .but after a= 1E-8
c gives us 0
can you explain how float data type is working here