Discuto is Loading your document from Drive

It can take a while depending on the size of the document..please wait

Discuto is submitting your document

It might take a while depending on the size of the document you uploaded..

Discuto is creating your discussion

Please do not close this window.

Discuto is submitting your comment

Did you know you can vote on comments? You can also reply directly to people's comments.

Your invites are being queued for sending

This might take some time depending on the number of invites, please do not close this window.

Discuto

Discuto

practica 09.docx

Starting: 16 Jan Ending

0 days left (ends 15 Feb)

Go to discussion, participate and give your opinion

description

Further info

LATEST ACTIVITY

LEVEL OF AGREEMENT

    • 0%
    • (0 positive votes)
    • 0%
    • (0 negative votes)
  • 0 votes in total
  • Most voted: 0
  • Most commented: 0
  • Most controversial: 0
  • Already decided: 0
  • In voting: 0
  • Supported: 0
  • My contributions: 0

MOST DISCUSSED PARAGRAPHS

No activity yet

LATEST COMMENTS

No activity yet

MOST ACTIVE USERS

No activity yet
Status: Closed
Privacy: Public

CONTRIBUTORS (1)

Share:
_
<< Previous paragraphs

P60

El ciclo for es una generalización del while; maneja de manera automática todos los detalles de la repetición controlada por contador, las cuales están separadas por punto y coma.

You agreeCan't vote

Add comment

P61

Sintáxis:

You agreeCan't vote

Add comment

P62

for (inicialización;condición;incremento)

You agreeCan't vote

Add comment

P63

{

You agreeCan't vote

Add comment

P64

sentencia1;

You agreeCan't vote

Add comment

P65

sentencia2;

You agreeCan't vote

Add comment

P66

}

You agreeCan't vote

Add comment

P67

Mismo ejemplo ciclo for()

You agreeCan't vote

Add comment

P68

# include <stdio.h>

You agreeCan't vote

Add comment

P69

# include <stdlib.h>

You agreeCan't vote

Add comment

P70

void main()

You agreeCan't vote

Add comment

P71

{

You agreeCan't vote

Add comment

P72

int cont;

You agreeCan't vote

Add comment

P73

for (cont = 1; cont <= 20; cont ++)

You agreeCan't vote

Add comment

P74

printf ("%4d ",cont);

You agreeCan't vote

Add comment

P75

system(“PAUSE”);

You agreeCan't vote

Add comment

P76

}

You agreeCan't vote

Add comment

P77

Elección adecuada de un problema repetitivo (Ciclo)

You agreeCan't vote

Add comment

P78

La elección adecuada de un ciclo es una de las partes del diseño de un algoritmo y como consecuencia del mismo código de su programa. La repetición de sentencias en el interior del ciclo o bucle requiere definir las condiciones de terminación del bucle incorrecto o infinito.

You agreeCan't vote

Add comment

P79

En el ciclo do-while, la secuencia de sentencias se ejecutarán al menos una vez, mientras que en el ciclo while primero se determinará si entra al ciclo evaluando la condición de entrada, ya que si resulta falsa no se ejecutarán las instrucciones contenidas en él. En la práctica el ciclo while se utiliza con más frecuencia que do-while y por ello en caso de duda utilice while. El ciclo for se reserva para situaciones en el que se puede predecir y enumerar antes que se comience el ciclo.

You agreeCan't vote

Add comment