#include <stdio.h>

float force(float);

float force(float mass){
    return mass *9.8;
}
int main() {
    int m=45;
    printf("the value of force is %f\n",force(m));
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: