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 :
*
**
***
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:
-
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★★★