sentencias control java
DESCRIPTION
TRANSCRIPT
![Page 1: Sentencias Control Java](https://reader031.vdocuments.pub/reader031/viewer/2022013003/5465ea33af7959383c8b6db8/html5/thumbnails/1.jpg)
Ing. Orlando Huaranga NegreteIng. Orlando Huaranga [email protected]@hotmail.com
![Page 2: Sentencias Control Java](https://reader031.vdocuments.pub/reader031/viewer/2022013003/5465ea33af7959383c8b6db8/html5/thumbnails/2.jpg)
Aprender acerca de los elementosAprender acerca de los elementosque JavaScript.que JavaScript.
![Page 3: Sentencias Control Java](https://reader031.vdocuments.pub/reader031/viewer/2022013003/5465ea33af7959383c8b6db8/html5/thumbnails/3.jpg)
Conocer las sentencias de control de javascript.
Conocer estructuras condicionales.
Aprender la sintaxis de las sentencias.
![Page 4: Sentencias Control Java](https://reader031.vdocuments.pub/reader031/viewer/2022013003/5465ea33af7959383c8b6db8/html5/thumbnails/4.jpg)
Sentencias condicionales.Sentencias condicionales. Bucles.Bucles. Estructura de manejo de objetos.Estructura de manejo de objetos.
![Page 5: Sentencias Control Java](https://reader031.vdocuments.pub/reader031/viewer/2022013003/5465ea33af7959383c8b6db8/html5/thumbnails/5.jpg)
If (condicion){
bloque si es verdadero
}
else{
bloque si es falso
}
![Page 6: Sentencias Control Java](https://reader031.vdocuments.pub/reader031/viewer/2022013003/5465ea33af7959383c8b6db8/html5/thumbnails/6.jpg)
switch(valora evaluar){
case”Trujillo”: alert(“Norte”);
break;
case “Arequipa”: alert(“Sur”);
break;
default:
alert(“??”);
}
![Page 7: Sentencias Control Java](https://reader031.vdocuments.pub/reader031/viewer/2022013003/5465ea33af7959383c8b6db8/html5/thumbnails/7.jpg)
var encontro = false;
....
while(!encontro){
alert(“Procesara Nueva Busqueda”);
busqueda();
}
![Page 8: Sentencias Control Java](https://reader031.vdocuments.pub/reader031/viewer/2022013003/5465ea33af7959383c8b6db8/html5/thumbnails/8.jpg)
var distritos = new Array();
....
for(i=0;i<distritos.length;i++){
procesa(distritos[i]);
}
![Page 9: Sentencias Control Java](https://reader031.vdocuments.pub/reader031/viewer/2022013003/5465ea33af7959383c8b6db8/html5/thumbnails/9.jpg)
var encontro;
....
do{
alert(“Procesara Nueva Busqueda”);
encontro=buscarDocumentos();
} while(!encontro)