Question

Write the syntax of looping control statements. Also draw the flowchart for each statement. Write a program in C to generate the following pattern :

                              *

                              **

                             ***

30 Nov 2023
Answer :
Word Count : 456

In programming, looping control statements are used to repeatedly execute a block of code while a specified condition is true. The most common looping control statements in both C and Python are for, while, and do-while. These loops allow a program to execute repetitive tasks efficiently.

Syntax of Looping Control Statements:

  1. For Loop:

    • C Syntax:

       for(initialization; condition; increment/decrement) { // statements to be executed } 
    • Python Syntax:

        ________ ______ _______ ______ _____ __________ ______ ______.
      ________ ______ _________ _________ _______ ____ _____ __________ __________.
      ________ _________ _____ _________ _____.
      ____ _______ _________ ____ __________ _______ _______.
      ______ _______ ___ ______ ___ _____ __________ _________ _______ ____.
      ___ __________ __________ _________ ______ _______ __________ _________ ________ __________.
      _____ __________ ____ _____ _____.
      _________ ____ ______ ________ ________ ____ _____ _______ ____.
      _____ ___ ________ ____ ____ __________ ________.
      ________ ____ ____ ______ _____ ___ ____.
      _________ _______ ____ ____ ____ _______.
      __________ _______ _____ __________ ___ _________ ___ ___ ________ _______ ______ ___.
      _______ ______ ___ _____ _______ _________.
      ______ _____ ____ ___ ________ ________.
      _____ _____ ____ ________ ___ _______ ______.
      _________ _____ ___ _______ _______ ____ ______ _______ _______ _____.
      ____ ____ _______ ______ ____ _________ ________ ____ ________ ________.
      ____ __________ _______ _____ _________ _____ _________ ______.
      ___ _____ _________ _______ ________ _______ __________ ___.
      ___ ________ _____ ______ _______ _____ _______ ________ ___.
      ____ ___ ________ _________ ___ ______ ________ ____.
      _________ ______ __________ _______ ____ _____ ______.
      ______ _____ ________ ______ __________ _________ ________ _________ _________.
      __________ ________ ______ __________ _______ _________ ______ _______ ______ _____.
      _________ ____ ________ ___ _________ ________ __________ ___ _____ __________.
      _________ ________ ________ _____ ____ ____ ___ _________ _________ _____ ________.
      ______ _______ ______ ______ ____.
      _________ ______ __________ _____ ________ ___ _________ _________ ___ _________ __________.
      _____ ___ _______ ___ _______ ________ _____ _______ ___ ____ __________ ______.
      __________ _______ _________ ______ ___ ________ ____ ___ _________.
      _____ ___ ______ __________ ________ ______ _____ ________ ____.
      ________ ______ _______ ______ ______ ___ _____.
      _________ ___ _______ ______ ____ __________ _________ ________ _____ __________.
      __________ _____ ____ _____ _______ __________ _______ _____ _________.
      _________ ___ _________ _______ _____ _______ __________ ______ _______.
      ______ ____ __________ ________ ____ _____ ___ ___ _________.
      ___ _____ ___ ________ _________ _______ _____ ___ ________ ________ _________ ___.
      _________ _______ ______ _____ _____ ______ ____ ___ ______ _________.
      ______ ____ ______ __________ ____ __________ _____.
      ________ __________ __________ ______ __________ _________ _____ _______ ____ _______.
      __________ ______ ______ _________ _________ ___ _____ _______ _____.
      _____ ____ ________ ______ ______ ______ ___ _________ __________ _______ _________ ______.
      ________ _______ _________ ____ __________ ______ _______ ______ __________ _______.
      _______ ____ ____ _________ ________.
      __________.
      Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Write the syntax of looping control statements. Also draw the flowchar
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support