This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<title>Ladder</title> | |
</head> | |
<body> | |
<div class="nav nav-pills"> | |
<div class="container-fluid"> | |
<ul class="pull-left"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
if($c == +) or ($c == -) | |
{ | |
echo $a + $b or $a - $b; | |
} | |
else($c == *) or ($c == /) | |
{ | |
echo $a * $b or $a / $b; | |
} | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<body> | |
<h1></h1> | |
<form action="operaciones.php" method="post"> | |
Pon un numero aqui<input type="text" name="a"> | |
<br> | |
Pon un numero aqui<input type= "text" name= "b"> | |
<br> | |
Pon tu operador aqui<input type="text" name="c"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
if($a = "a"."e"."i"."o"."u") | |
{ | |
echo "Es una vocal"; | |
} | |
else($a != "a"."e"."i"."o"."u") | |
{ | |
echo "Es una consonante"; | |
} | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<body> | |
<h1>vocal o consonante</h1> | |
<form action="vocalconsonate.php" method="post"> | |
letra a<input type="text" name="a"> | |
<br> | |
<input type="submit" value="es..."> | |
<br> | |
</form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
if($a>$b) | |
{ | |
echo "El mayor es" . $a; | |
} | |
else($b>$a) | |
{ | |
echo "El mayor es" . $b; | |
} | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<body> | |
<h1>El mayor de dos numeros</h1> | |
<form action="numeromayor.php" method="post"> | |
numero a<input type="text" name="a"> | |
<br> | |
numero b<input type= "text" name= "b"> | |
<br> | |
<input type="submit" value="Calcular"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Y Tu area es:</h1> | |
<? | |
$area = $base * $altura / 2; | |
echo $area; | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>Calcula el area de tu triangulo!</title> | |
</head> | |
<body> | |
<h1>El area de tu triangulo</h1> | |
<form action="area.php" method="post"> | |
Pon aqui tu Base:<input type="text" name="base"> | |
<br> |
NewerOlder