0
how to take input of double number in c++
to take all number after the decimal
3 Answers
0
double n;
cin>>n;
so you can take decimal input
0
no it not take all digit after the decimal
 for ex
double n=14049.30493;
cout<<n;
output 14049.3
to take all number after the decimal