Advertisements
Advertisements
Question
Assign the following to a variable with suitable data type.
p = 1.4142135 (value of square root of 2)
One Line Answer
Solution
double p = 1.4142135;
shaalaa.com
Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - EXERCISES [Page 33]