English

Assign the following to a variable with suitable data type. p = 1.4142135 (value of square root of 2) - Computer Applications

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]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.03 Values and Data Types
EXERCISES | Q III. 6. (b) | Page 33
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×