Skip to content

Instantly share code, notes, and snippets.

View sevens7xix's full-sized avatar

Vicko Quizza sevens7xix

  • Colombia
  • 08:24 (UTC -05:00)
View GitHub Profile
<!DOCTYPE HTML>
<html>
<head>
<link type="text/css" rel="stylesheet" link="main.css"
</head>
<body>
<div>
</div>
</body>
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Ladder</title>
</head>
<body>
<div class="nav nav-pills">
<div class="container-fluid">
<ul class="pull-left">
@sevens7xix
sevens7xix / operaciones.php
Created January 19, 2015 22:40
Problema 3 "Reuelva Opericiones
<?
if($c == +) or ($c == -)
{
echo $a + $b or $a - $b;
}
else($c == *) or ($c == /)
{
echo $a * $b or $a / $b;
}
?>
@sevens7xix
sevens7xix / index.html
Created January 19, 2015 22:35
problema 3 "resuelva operaciones"
<!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">
@sevens7xix
sevens7xix / vocalconsonante.php
Created January 19, 2015 22:21
Problema 2 "Vocal o consonante"
<?
if($a = "a"."e"."i"."o"."u")
{
echo "Es una vocal";
}
else($a != "a"."e"."i"."o"."u")
{
echo "Es una consonante";
}
?>
@sevens7xix
sevens7xix / index.html
Created January 19, 2015 22:15
problema 2 "vocal o consonante" archivo 2
<!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>
@sevens7xix
sevens7xix / numeromayor.php
Created January 19, 2015 21:34
Problema 1 "El mayor de los numeros" Archivo 2
<?
if($a>$b)
{
echo "El mayor es" . $a;
}
else($b>$a)
{
echo "El mayor es" . $b;
}
?>
@sevens7xix
sevens7xix / index.html
Created January 19, 2015 21:30
Problema 1 "El mayor de los numeros" Archivo 1
<!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">
@sevens7xix
sevens7xix / area.php
Created January 9, 2015 00:22
Problema 2 Archivo 2
<h1>Y Tu area es:</h1>
<?
$area = $base * $altura / 2;
echo $area;
?>
@sevens7xix
sevens7xix / index.html
Created January 9, 2015 00:09
Problema 2 Archivo 1
<!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>