Learning Exercises for you to complete1. Change the C code
Learning Exercises for you to complete<br/>1. Change the C code to
calculate the perimeter of a triangle. Support your experimentation with ascreen capture of executing the new code
2. Prepare a new test table with at least 3 distinct test cases listing input and expected output 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?
#include <
int main(void) { int i,j;
float f,g; i = 5;
j = 2; f = 3.0;
f = f + j / i;
g = (f + j )/i;
printf(“value of f,g is %f,%f\n”, f,g);
return 0;}
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.

