Recent Question/Assignment

Can you help me with this task 9.2? (C Program)
Task 9.2
Sample:
The following sample program uses a function -int calculateSum(int, int);- to calculate the sum of two integers and returns the value.
#include stdio.h
int calculateSum(int a, int b)
{
int sum;
sum = a + b;
return sum;
}
int main()
{
int inputl, input2, sum;
printf(-Enter two integer values ...
-);
scanf(-%d %d-, &inputl, &input2);
sum = calculateSum(inputl, input2);
printf (-The sum of %d and %d Ls %d
-, inputl, input2, sum);
return 0;
}
Aim: This task is to demonstrate the knowledge of creating a user defined function with return value
Write a C program that uses a function to calculate the sum of three (3) float values. The function to return the sum to the main function. The result to be printed from the main function.
Submit the working code and screenshots of the output.