1.

Both conditional statement and iterative statement have a condition and a statement. How do they differ?

Answer»

Conditional Statement:

  • Statements are executed only once when the condition is true.
  • If condition statement.

Iterative Statement:

  • Iterative statement repeatedly evaluates a condition and executes a statement until it becomes false.
  • While condition statement


Discussion

No Comment Found