<?php fscanf(STDIN, "%d %d %d", $a, $b, $c); $MaiorAB = ($a+$b+abs($a-$b))/2; $MaiorABC = ($c+$MaiorAB+abs($c-$MaiorAB))/2; echo "$MaiorABC eh o maior\n"; ?>
To embed this project on your website, copy the following code and paste it into your website's HTML: