Advertisements
Advertisements
प्रश्न
Define a function to double a number in two different ways:
(1) n + n,
(2) 2 x n
टिप्पणी लिखिए
उत्तर
(1) Double (n)
– – inputs: n is a real number or an integer, n > 0
– – Outputs: y is a real number or an integer such that y = n + n
(2) Double (n)
– – inputs: n is a real number or an integer, n > 0
– – Outputs: y is a real number or an integer such that y = 2 x n
shaalaa.com
Decomposition
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?