Complete the code to declare a floating point variable.
float [1] = 3.14f;
The variable name pi is appropriate for a floating point value representing 3.14.
Complete the code to perform floating point addition.
float result = [1] + 2.5f;
Use a floating point number like 3.0f to add with another float.
Fix the error in the floating point division.
float division = 5 / [1];
Use a floating point divisor like 2.0f to get a floating point result.
Fill both blanks to create a float array and initialize it.
float [1][3] = {1.0f, [2], 3.0f};
The array name values is descriptive, and 2.0f is a float value to initialize the second element.
Fill all three blanks to compute the average of three floats.
float average = ([1] + [2] + [3]) / 3.0f;
Use the three float variables val1, val2, and val3 to calculate the average.
