outp

My Cart

Write the syntax of looping control statements. Also draw the flowchar

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 : 

                            *

                           * *

                          * * * 


Posted on : 2023-04-27 16:16:43 | Author : IGNOU Academy | View : 37

Click Here to Order on WhatsApp

Login or SignUp to View Answer / Comment or Ask Question.. Its Free

Word Count : 437

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  /           \ False        /             \     Code           Exit     Block           Loop        |     Increment/     Decrement 
  1. While Loop:
 while (condition) {     // code to be executed }

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

__ _________ ________ ___________ ____________ __________ ___________ _____ __________ ___________ __ ___ __________.
_____________ ____________ ___________ ___________ __________ _______ _________ __ __ _____________ __ __________ _____ ____________.
______ _____ _________ ___ ________ ________ ________ ____.
__ ____________ ____ ____ _________ _________ ____ ______ ___________.
__________ _______ ____________ __ ____ _________ ________ ____ _______ _______ ____ ___________ ___________.
_____ __________ ____ ___ ______ ______ ____________ ____ ____________ ___________.
___ _________ _______ ___________ _____ _______ ______ ___________ ________ ______ __________.
__ ____ __________ _____ ______ __ ____ ___________ ____________.
____________ ___________ ___ ______ _______ ______ _______ _______ _______ ________ ___________ ____ _________.
____ ______ ____________ ____________ ___________ ___ __________ _____________ _____.
_____ ___ ________ ___________ ______ ____________ ________ _____________ ___________ ____________.
_____________ _______ ____________ ________ ___ ________ _____ ___ ___ __ ______.
____________ ____________ _____________ _________ __________ __________ _____________ __ ____________ _________ _____ _______ ______.
___ _______ ____________ ___ _________ ____________ __ ______ _____________ _________ _______ ___________ _________.
_________ _____________ __________ _______ ________ _________ ________ __________ _________.
__ ______ ____ ____ _______ _______.
______ __ ___________ _______ ________ __________ ______ _______ _______ ___ _____ __.
____ ___________ _________ ___ _____ ___________ _______ ___________ ______.
_____ _______ ____________ _______ ____________ _____ ______ ___________ __ _____.
__________ _______ ____ __________ ________ _____________ ______.
__ ____ ________ _____ ______ __________ _______ _______ _________ ________ __ ___________ ______ ________.
____________ _____ ___ _____________ ____ ____________ ___________ ____________ ___ ____ __ __.
________ _______ ___________ ___ ______ _____________ __________ ________ ___________ __.
________ _______ ___________ __________ ______ ____________ _____ ___________ _________.
______ _____ _____ _____ _______ ___ __________ _____ _____________ ___ ____ __ ___________ ____________.
______ ____ ______ __________ _____________ ___________ ______.
___________ _____________ ___________ _____ _____ _____ __ _______ __________ _________ ________.
_____ _____ ____ _________ _________ ________.
Click Here to Order Full Assignment on WhatsApp







Degree : PG DIPLOMA PROGRAMMES
Course Name : POST GRADUATE DIPLOMA IN COMPUTER APPLICATIONS
Course Code : PGDCA_NEW
Subject Name : Programming in C and PYTHON
Subject Code : MCS 201
Year : 2023



IGNOU MCS 201 Solved Assignment 2023
Click Here to Order on WhatsApp

Call Now
Contact Us
Welcome to IGNOU Academy

Click to Contact Us

Call - 9199852182 Call - 9852900088 myabhasolutions@gmail.com WhatsApp - 9852900088
New to IGNOU Login to Get Every Update