1. Change the C code to calculate the perimeter of a triangle. Support your experimentation with a screen capture of executing the new code

$12.99
1. Change the C code to calculate the perimeter of a triangle. Support your experimentation with a screen capture of executing the new code

 

Learning Exercises for you to complete 1.

1. Change the C code to calculate the perimeter of a triangle. Support your experimentation with a screen capture of executing the new code

2. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the perimeter of a triangle.

3. What is this line of code doing?

scanf("%f", &height);

How would you change this line if you wanted to input an Integer as opposed to a float?

4. What are the values of f and g after executing the following C?

Describe specifically, and in your own words, why are the values of f and g different? Support your experimentation with a screen capture of executing the code.