Documente Academic
Documente Profesional
Documente Cultură
1. Ingresar edad 1 = E1
2. Ingresar edad 2 = E2
3. Ingresar edad 3 = E3
4. Ingresar edad 4= E4
5. Ingresar edad 4 = E5
6. R= E1+E2+E3+E4+E5/4
7. MOSTRAR “r”
8. FIN
Ejercicio: crear un algoritmo que calcule la edad de una persona según el año de su nacimiento.
introducciones
} si no. {
Ejemplo: crear un algoritmo que pida la temperatura del clima, si esta pasa de 28°
muestre el mensaje “hay calor” si no que muestre un mensaje “hay frio”.
1. Ingresar clima= tem
2. Si tem>28
3. Mostrar “hay color”
4. Si no
5. Mostrar “hay Frio”
6. Fin
Variable=
SI
SI= HAY CALOR
TEMP>28°
SI NO = HAY FRIO
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="iso 8859-1">
<Meta name="keywords" contenet="html5, css, javascript">
<title> ejercicio </title>
<link rel="stylesheet" type="text/css" href="Estilos.css">
</head>
<body >
<header></header>
<font face="algerian"><marquee><h1>titulo
principal</h1></marquee></font>
<nav>
<UL>
<LI>Principal</LI>
<li>fotos</li>
<li>videos</li>
</UL>
</nav>
<section>
<article>
<header>
<h1>titulo 1 </h1>
</header>
<p>creado en 2018</p>
</article>
<article>
<img src="image384.jpg" width="200" height="300">
</article>
</section>
<aside>
<blockquote>mensaje 1</blockquote>
<blockquote>mensaje 2</blockquote>
</aside>
<footer> pie de pagina</footer>
</body>
</html>
html,body{
height: 100%;
}
header{
display: block;
background: #a52a2a;
padding: 10px 0px;
}
section{
width: 79%;
background: #ccc;
float: left;
overflow: auto;
padding-bottom: 60px;
padding-top: 30px;
}
aside{
float: right;
border: 1px solid red;
width: 19px;
}
footer{
position: relative;
margin-top: -50%;
height: 40px;
padding: 5px 0px;
clear: both;
background: #286af0;
text-align: center;
color: #000;