When writing the following code in code::blocks, it does not produce the desired result when called in main: 

```
#include <stdio.h>
#include <stdlib.h>

float mult_two_floats(float a, float b);
int main()
{
    mult_two_floats(7,7);
    return 0;
}
float mult_two_floats(float a, float b){
    return a * b;
}

```

When rewritten as follows, it does work:

```
#include <stdio.h>
#include <stdlib.h>

float mult_two_floats(float a, float b);
int main()
{
    mult_two_floats(7,8);
    return 0;
}
float mult_two_floats(float a, float b){
    printf("%f", a*b);
}

```

Please help me understand what I am doing wrong. Thank you.