min_max.c
来自「给大家交流几个C++数学函数。」· C语言 代码 · 共 11 行
C
11 行
#include <stdio.h>
#include <stdlib.h>
void main (void)
{
printf("Maximum of %f and %f is %f\n",
10.0, 25.0, max(10.0, 25.0));
printf("Minimum of %f and %f is %f\n",
10.0, 25.0, min(10.0, 25.0));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?