(12)有以下程序 请在 【12】 处填写正确语句 使程序可正常编译运行。#include lt;stdio.hgt;【12】
程序,语句
已帮助 人
(12)有以下程序,请在 【12】 处填写正确语句,使程序可正常编译运行。
#include <stdio.h>
【12】 ;
main()
{ double x,y,(*p)();
scanf("%lf%lf",&x,&y);
p=avg;
printf("%f ",(*p)(x,y));
}
double avg(double a,double b)
{ return((a+b)/2);}
