Pls suggest the code so that the value 9.8754321 is exactly displayed without any truncation? Dont use manipulator or printf function. It is expected to use only formatting flags.
Code:int main() { float i=9.8754321 ; cout<<i; }
Pls suggest the code so that the value 9.8754321 is exactly displayed without any truncation? Dont use manipulator or printf function. It is expected to use only formatting flags.
Code:int main() { float i=9.8754321 ; cout<<i; }