English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

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

Advertisements
Advertisements

Question

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

Distinguish Between

Solution

Conditional Statement:

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

Iterative Statement:

  • An iterative statement repeatedly evaluates a condition and executes a statement until it becomes false.
  • While condition statement.
shaalaa.com
Composition
  Is there an error in this question or solution?
Chapter 7: Composition and Decomposition - Evaluation - Section - B [Page 100]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 7 Composition and Decomposition
Evaluation - Section - B | Q 3. | Page 100
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×