this is an example of what is happening
consider the program:
#include<iostream.h>
void main(void)
{
double x=2.3767553235;
cout<<x<<endl;
}
when i compile it
the output is only giving 2.37676
Why?
I dont want only 5 decimal places,plz someone tell me why is this happening.
i want it to be say for example 8 or 10 decimal places
thank u so much