36 lines
1.1 KiB
PHP
36 lines
1.1 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
|
|
<?php
|
|
|
|
if(isset($_POST["rec"])){
|
|
$rec = $_POST["rec"];
|
|
}
|
|
else{
|
|
$rec = null;
|
|
}
|
|
echo"$rec";
|
|
if($rec != null){
|
|
$merec = ($me + $rec) / 2;
|
|
|
|
if($merec >= 6){
|
|
echo"<p>$nomes[$x] Nota1:$nota1[$x] Nota2: $nota2[$x] Média: $merec APROVADA!</p>";
|
|
}
|
|
else{
|
|
echo"<p>$nomes[$x] Nota1:$nota1[$x] Nota2: $nota2[$x] Média: $merec REPROVADA!</p>";
|
|
}
|
|
}
|
|
else{
|
|
echo"<p>$nomes[$x] Não respondeu a prova de recuperação. REPROVADA!</p>";
|
|
}
|
|
?>
|
|
|
|
</body>
|
|
</html>
|