一.调用的条件—被调用的函数已存在
1.自定义函数先定义,后调用
#include <stdio.h>
#include <math.h> //标准库函数
double max(double x, double y) //函数定义
{
double z;
z = (x > y ? x : y);
return z;
}+
int main()
{
double a, b, c, s;
scanf_s("
一.调用的条件—被调用的函数已存在
1.自定义函数先定义,后调用
#include <stdio.h>
#include <math.h> //标准库函数
double max(double x, double y) //函数定义
{
double z;
z = (x > y ? x : y);
return z;
}+
int main()
{
double a, b, c, s;
scanf_s("