functions// example1

PHOTO EMBED

Mon Dec 05 2022 19:33:23 GMT+0000 (Coordinated Universal Time)

Saved by @Mohamedshariif

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

void aveTwo(float n1,float n2);
int main() {
    float n1=10;
    float n2=7;
    float average;
    average = (n1+n2) / 2.0;
    printf("the average of %f and %f is %f \n",n1,n2,average);
    
     return 0;
}
content_copyCOPY

functions