aulinha
This commit is contained in:
36
Untitled-1.php
Normal file
36
Untitled-1.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user