Write a C program to read two floating point numbers. Add these numbers and assign the result to an integer. Finally display the value of all three variables.
#include < stdio.h>
{
float f1,f2;
int total;
printf("Enter your floating point number1:");
scanf("%f",&f1);
printf("Enter your floating point number2:");
scanf("%f",&f2);
total = f1 + f2;
printf("The sum of %f and %f is %d”,f1,f2,total);
return 0;
}