$array[$j]){ $tmp = $array[$i]; $array[$i] = $array[$j]; $array[$j] = $tmp; } } } return $array; } $stdIn = getStandardInput(); $splitStdIn0 = splitBySpace($stdIn[0]); $price = $splitStdIn0[0]; $taxPersentage = $splitStdIn0[1]; $result = ((100 + $taxPersentage)/100) * $price; echo(floor($result)."\n");