Order the following statements that form the pseudo code fo
Order the following statements that form the pseudo - code for calculating the length of the hypotenuse of a right triangle given the lengths of the two legs of the triangle.
Assume that a message to input any values is displayed before the values are read into the program.
Use [ 1 ] for the first statement or step, [ 2 ] for the second statement or step, etc.
Order the following statements that form the pseudo - code for calculating the length of the hypotenuse of a right triangle given the lengths of the two legs of the triangle. Assume that a message to input any values is displayed before the values are read into the program. Use [ 1] for the first statement or step, [ 2 ] for the second statement or step, etc. Use 1 for the first statement or step, [ 2 ] for the second statement or step, etc Start Program Pythagoras Print \"the length of the hypotenuse is \", c Print \" please enter the lengths of the legs\" c = sqrt(a^2 + b^2) Read a,b End Program PythagorasSolution
1. Start Program Pythagoras
2. print \"Please enter the lengths of the legs\"
3. Read a, b
4. c=sqrt(a^2 + b^2)
5. print \"The length of the hypotenuse is \",c
6. End Program Pythagoras
