a) For this question, you will need to use this function, which returns the real value of
Question:
a) For this question, you will need to use this function, which returns the real value of the square root of anyPosVal:
Extend your algorithm for Question 2 to
i) Calculate the hypotenuse
ii) Calculate the area
iii) Calculate the perimeter.
b) Provide a menu to choose which calculation to perform.
c) Check that all the above work by writing and testing a program in your chosen programming language.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Cambridge International AS & A Level Computer Science
ISBN: 9781510457591
1st Edition
Authors: David Watson, Helen Williams
Question Posted: