原文:python应用-输入三个数,输出其最大值

输入三个数,输出其最大值 Author:罗万财 Date: a int input a b int input b c int input c my max a gt b and a or b my max c gt my max and c or my max print my max 结果: a b c ...

2018-03-11 22:23 0 5640 推荐指数:

查看详情

php 写程序求三个数最大值

最简单的调用PHP自带的max函数即可:echo max(1,2,3,4,5);如果要自定义函数的话:function test($a,$b,$c){ return $a > $b ?($a & ...

Fri Jul 21 23:56:00 CST 2017 0 1460
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM