fork download
  1. #include <stdio.h>
  2. ave(int a,int b){
  3. return (a+b)/2;
  4. }
  5. int main(void) {
  6. // your code goes here
  7. int a=12,b=4;
  8. printf("%d",ave(a,b));
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
8