This question already has an answer here:
The following code:
#include<iostream.h>
void main(){
double d = 1.234567;
cout<<d;
}
The output is: 1.23457
What could possibly be the reason for this? Keep in mind that I'm using a 25 year old(Borland 4.5) compiler, because that is what my course required me to use.
Aucun commentaire:
Enregistrer un commentaire