हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा ११

Write the specification of an algorithm hypotenuse whose inputs are the lengths of the two shorter sides of a right-angled triangle, and the output is the length of the third side. - Computer Science

Advertisements
Advertisements

प्रश्न

Write the specification of an algorithm hypotenuse whose inputs are the lengths of the two shorter sides of a right-angled triangle, and the output is the length of the third side.

टिप्पणी लिखिए

उत्तर

  1. hypotenuse (a, b)
  2. – – inputs: a, b are real numbers, a > 0, b > 0
  3. – – outputs: c2 = a2 + b2 wrhere c is real number, c > 0
shaalaa.com
Algorithm Design Techniques
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Specification and Abstraction - Evaluation - Section - D [पृष्ठ ८७]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
अध्याय 6 Specification and Abstraction
Evaluation - Section - D | Q 1. | पृष्ठ ८७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×