#include <stdio.h>

float average(int a,int b,int c);

float average(int a,int b,int c){
    return(a+b+c)/3;
}
int main() {
    int a=3,b=6,c=5;
    printf("the average of a,b,c is %f",average(a,b,c));
    return 0;
}

Embed on website

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