Can we create program without using step keyword in the loop statement?

Answers

  • Réponse publiée par: JUMAIRAHtheOTAKU

    A "While" Loop is used to repeat a specific block of code an unknown number of times, until a condition is met. For example, if we want to ask a user for a number between 1 and 10, we don't know how many times the user may enter a larger number, so we keep asking "while the number is not between 1 and 10".

  • Réponse publiée par: kurtiee

    Explanation:

    In computer science, a for-loop (or simply for loop) is a control flow statement for specifying iteration, which allows code to be executed repeatedly. ... The header often declares an explicit loop counter or loop variable, which allows the body to know which iteration is being executed.

  • Réponse publiée par: princessgarcia23

    For me, it is beneficial to the student to know and understand for-loop statement because it helps ignore writing one statements many times. No repetition and reduces many lines of codes. It also  makes program less complex.

    Explanation:

  • Réponse publiée par: janalynmae

    I think a disadvantage

    Explanation:

    Pasinsya. Na

  • Réponse publiée par: taekookislifeu

    if then states if then

    and loop. states while loop

  • Réponse publiée par: ian2145

    Make your own answer because is not easy to think about the question

  • Réponse publiée par: tayis

    Yes, you can put an if statement inside a for loop. Your syntax for the for loop is invalid though, not the if statement even though the code analyser may erroneously accuse the if statement.

    Explanation:

    Hope it helps

  • Réponse publiée par: abyzwlye

    yes,you can put an if statement inside a for loop.you syntax for the for loop is invalid though,

    not the if statement even though the code analyser may erroneously accuse the if statemen

    explanation:

    hope it helps

  • Réponse publiée par: kurtiee

    Yes

    Explanation:

    Family Love You And God Loves You

Connaissez-vous la bonne réponse?
Can we create program without using step keyword in the loop statement?...