Skip to content

Commit c68371a

Browse files
feat Bucles complete
Bucles COMPLETE see also:# resolves:#
1 parent af88577 commit c68371a

File tree

10 files changed

+100
-0
lines changed

10 files changed

+100
-0
lines changed

012 Bucles/.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

012 Bucles/.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

012 Bucles/.idea/jsLibraryMappings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

012 Bucles/.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

012 Bucles/.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

012 Bucles/.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

012 Bucles/arrayII.iml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="WEB_MODULE" version="4">
3+
<component name="NewModuleRootManager" inherit-compiler-output="true">
4+
<exclude-output />
5+
<content url="file://$MODULE_DIR$" />
6+
<orderEntry type="sourceFolder" forTests="false" />
7+
</component>
8+
</module>

012 Bucles/bucles.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* Array II - Propiedades y métodos I */
2+
/* BUCLES */
3+
4+
/* WHILE */
5+
let pass = '';
6+
while(pass!='hola'){
7+
pass = prompt('Introdusca su contraseña')
8+
}
9+
console.log("Fin de Bucle");
10+
11+
/* DO WHILE */
12+
13+
do{
14+
let pass = '';
15+
pass = prompt('Introdusca su contraseña')
16+
17+
}while(pass!='hola')

012 Bucles/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Bucles</title>
6+
</head>
7+
<body>
8+
9+
<script src="bucles.js"></script>
10+
11+
</body>
12+
</html>

012 Bucles/readme.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
### Bubles
2+
- Se usan cuando queremos que un trozo de codigo se repita.
3+
4+
- Esite buvles determinaso e indeterminados
5+
6+
* Bucle While:
7+
Es un bucle indeterminado ya queno sabemos cuantas vueltas dará durante la ejecucion.
8+
9+
```js
10+
while(condicion){
11+
12+
//codigo a ejecutar
13+
}
14+
```
15+
16+
* Bucle D While
17+
Es un buble indeterminado ya que no sabmos cuantas vueltas dará durante la ejecucion
18+
19+
```js
20+
do{
21+
22+
//codigo a ejecutar
23+
}while(condicion)
24+
25+
26+
```
27+
28+

0 commit comments

Comments
 (0)