How do you print decimal numbers that are have more then 6 didgets? I'm writing a small prog to find the square root of 50 but the decimals are large and it only prints out 6 spots. any idea what could remedy the situation? (Code is below)
Code:#include <math> #include <iostream> double i = (double)sqrt(50.0) ; main (){ cout << "square root of 50 :" << i ; }