level 7
<?php
$a = $_GET['a'];$b = $_GET['b'];$c = $_GET['c'];
if($a+$b>$c && $a+$c>$b && $b+$c>$a){ $res = '成功'; $area = '面积:'.($a+$b+$c)/2;}else{ $res = '失败'; $area = '';}
?><form>a:<input type="text" name="a"/>b:<input type="text" name="b"/>c:<input type="text" name="c"/><input type="submit" value="计算"/><br><?php echo $res;?><br><?php echo $area;?></form>
2019年12月31日 03点12分
3