Question: 1. (20 points) Using while loop, write a C program that prints Fibonacci series up to 100 2. (20 points) Define a function called hypotenuse

 1. (20 points) Using while loop, write a C program that

1. (20 points) Using while loop, write a C program that prints Fibonacci series up to 100 2. (20 points) Define a function called hypotenuse that calculates the length of the hypotenuse of a right triangle when the other two sides are given. The function should take two arguments of type double and the hypotenuse as a double. You can use only sqrt() math library function. Test your program with the side values specified in the following Table: Triangle Side 1 Side 2 3.0 4.0 2 5.0 12.0 3 8.0 15.0 1 Sample Output: Enter Side 1: 3.0 Enter Side 2: 4.0 The hypotenuse is 5.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!