@ -71,3 +71,9 @@ printf("Error: Invalid input for factorial!\n");
return 0;
}
// Function to calculate the floor value of a number
float floorValue(float x) {
return floor(x);