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 : 

                            *

                           * *

                          * * * 

27 Apr 2023
Answer :
Word Count : 421

Here's the syntax for looping control statements in C:

  1. For Loop:

for (initialization; condition; increment/decrement) {
    // code to be executed
}

The flowchart for a for loop can be represented as follows:

        Initialization              |           Condition          /         \   True  /  _______ _______ __________ ______ _______ ________ ________ ____ _______ ________ _________ ___.
_________ ______ _____ ________ _________ ____.
________ ___ _________ __________ _______ __________ ________ _____.
____ ______ ____ ______ ____ ___ ____ _________ __________ __________ ____.
_______ _______ ___ ___ _______ _____ _________ ________ ________ _________ _______ _______.
________ ______ _________ __________ _______ _____ ____ ___.
________ _____ _____ _____ ____ ____ ______ ___ __________ ______ ____ _____.
____ __________ ___ ____ _______ ________ ________ _________ _____ __________ _____ __________.
____ _______ ______ ___ _______ _______ ____ _____ ____.
________ ______ _________ ________ __________ ____ ________ ____ _____ ____ _____ ____.
_____ _______ ______ __________ _________ __________ _________.
___ ________ ____ __________ ______ _________ __________ ________ __________ ______ ___ __________.
___ _______ ______ ________ ____ _____ ________ _____.
_____ __________ ________ ________ _________.
______ ______ ________ __________ ___ _______ _________ _____.
______ _______ __________ ____ _________ _____ __________ ______.
________ ___ ___ __________ __________ _______ _______ _________ _______.
________ _____ ________ _________ ___ __________ _____ ________ _________ ____ ______ ______.
_____ _______ ______ _________ _______ ________ __________.
__________ _______ _______ ___ _______ ______ ______ _______ __________.
_______ ___ ________ ____ _________.
__________ __________ ________ _____ ________ __________ ____ ___.
______ ____ ___ ________ _____ ____ ______ ____ _________ ______.
_______ ______ _________ __________ _____ ______.
__________ ____ _________ _______ ___ _____ _________ ___ ________ ___ __________.
_______ ___ _______ ______ ____ _________ _______ ______ __________ ______.
______ __________ _____ _________ _________ ________ ___.
_____ ___ _________ _________ ________ ____ ___ _________ _________ ______ _______ ____.
_________ ___ _____ _________ ________ __________ _____ _______ _________ ______.
_________ _____ ____ _____ _________ ___ _______ _______ ____ __________.
____ __________ ________ __________ ____ ________ ____ ____ _______ ___ __________.
_________ ________ _____ ___ _____.
___ _______ _______ _____ ____ _____ ________ _______ ________ _________ _____.
_______ _____ ____ ________ ____ _____ _____ ____ ____ _______ ____ ___.
_________ _________ __________ _____ ________ __________ _______ __________ ______ ______ ____ ____.
_______ ___ ________ ______ __________ ____ ______ ___ _______.
_________ ___ _____ ______ ________ ____.
______ _________ _________ _________ _______ ___.
__________ ______ ___.
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
→