-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrevisador.php
More file actions
57 lines (44 loc) · 965 Bytes
/
revisador.php
File metadata and controls
57 lines (44 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
$primo=$_POST['uno'];
$secondo=$_POST['dos'];
$terzo=$_POST['tres'];
$quarto=$_POST['cuatro'];
$quinto=$_POST['cinco'];
$sesto=$_POST['seis'];
$septimo=$_POST['siete'];
$ottavo=$_POST['ocho'];
$nono=$_POST['nueve'];
$decimo=$_POST['diez'];
$aciertos=0;
if($primo=="C"){
$aciertos= $aciertos + 1;
}
if($secondo=="A"){
$aciertos= $aciertos + 1;
}
if($terzo=="D"){
$aciertos= $aciertos + 1;
}
if($quarto=="B"){
$aciertos= $aciertos + 1;
}
if($quinto=="A"){
$aciertos= $aciertos + 1;
}
if($sesto=="A"){
$aciertos= $aciertos + 1;
}
if($septimo=="C"){
$aciertos= $aciertos + 1;
}
if($ottavo=="C"){
$aciertos= $aciertos + 1;
}
if($nono=="A"){
$aciertos= $aciertos + 1;
}
if($decimo=="C"){
$aciertos= $aciertos + 1;
}
echo $aciertos;
?>