0 ratings0% found this document useful (0 votes) 22 views7 pagesC Programming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
# feat Stox 1 fBettexr ear
w
tHe yy
*
x *
* Rt
KOR x x
4 include
FP indude < contoch >
int main-{)
is
tnt G4;
for (erste sy uy) I Yous
f
fer (f= fed set) Meolumnp
Eninty Uae
oo se 944065 EE SE SE t TTI
2
paint f ("5
3
;
for deep
HE
He
**
#
H firclude < stra hy
Ht Induds & conto. hy
int man ( )
unt 45 i
for (dics 3 JBL: d--)
fort jet5 74s 5 4tt)
* onintt CRs
pount ¢ ("An");
} gets yehorn 0;
Jxetwin of
# incluelestelio. ne
(3) pee # fnchede< coniavh
ARK
RARE
KRERK
as pount f-
ee
RR RRR
# IndudedAlebosh >
FF include { conio-h>
int main C)
PH
unt ApS
prt usden ie)
\ foe fabs debs gH)
‘pint ("9
J se
for (K=L 5 katy K+4)
1 print (se);
ght Cw
yan 05
a
Sey,
tthelude < stdin >
# Include < conio-hy
unt main()
i 3
a wh 5 146 sure)
to...
for gods gues j--)
tostntf 9
: a)
for (K=5 5 Kadi k ba
Sint OB);
aint ( "Ww;
yowin 05Lop 1s 0 block of gtakmenty fet Perforns Act of
tngtiuctions » “Tn Loops vie eating postive poxten
"af the — ropvom efter a “Lafectfied umber 4.
tine ay untfl post euten no, of cond? 4 on iA
bey Bohtaft'ed .
Thee Hite of be -
CO White” kop
ON) do- whl, top
a > for up
@ White lesp —
a Tt b an enfty ~ cortralteed Loop
7 Tn while lech» a condition ts evaluates) before
eee He bool of a Leop
Th condiHicn fs mst Way then the body ve a
loop will nob be exected , not even one,
. ee
> Once the — condittdn become folas, HAL conto]
qe gu 4 the loop «
Stee:
Ride (_condien)
t
Statement 5
b encvement /olecsement §
y
CCC CAAA AAS:
« €Cy Do-while Qoob -
The deewahile tarp fs the ort feyfed Loop »
7 The de ~ while lop 1s mainly used un FRe case
whore we need fo cxeceite * He Loop at feast once.
The do- while oop condition ip Abcified after te
block th trecuted «
De white loop allwon Pritfa2rration of countey vorlables
before and after aleaking We body 4 a loop
Syntay’
lo
VVNAA
Ctamente- $
increment / dlecrement ;
J white ( conclitHon)
3: fr op
mA fox loop is a utepetftan veontyo| 6 fuckin *
2TH jp used when & number of dteyotion axe
3
PPP Peeper enn e nen
nous +
Syntay
for ( Unitiatization 5 condition 5 dnerement/decvement )
a
Statements}
5
¢
I
si
iPL jourchont
£- Flaochott fe the rmost wsilely used sxaphicol
viepre sentation on alerts ard — rrocedutraD
ley eocodlf lows
Q- TE usa varilouy Aymbol to show eporalicny /oleerion
“to be followed In a pine:
FTE Plows vin pequerrtiol © exten.
HE flowchart Symbol
C._) ~~ Stant/s top Used ot bepinning and
end of the olgoxithen -
T= ey ty
tatRematica) operations.
[___] > Bpet[outpur — Uaed for denoting,
progxom inp and
oO —> Deciten Stands for olees/s1on
Atolements in o progaen,
where Onpwen v
Upea tty Yew 07 No -
{ 3 fpprow Showy utelocton ships
bekdeer, diffasent:
Aha
4 off poy. connectoy Connect — fas0 poxts o
Powehast whice ax
Spread Over oll {fount shafovarPowis of Foci
Mest efipicdent communiesting the logue f tem. :
x Melbs th hays prrecess +
~ We can easily cnalyre the program.
> Creo fox “clecumertation,
Pesta ot ft wud —
~? Deer net contain te * Proper ameourt of oletaifa .
COT Sliffiatt to dieproea
Ney otltteudt to medify,
1 Aprtiio
Sette IB a Step by sth — procure whieh p
e\pful un Zoluin a problem « Th, at bs
— in Eng dike Kenterrus thon, Lb is called
*"Pcevne cove’
Pape ote
“Thput
' Ootpot
finite ness
. Definiteneys
‘ Cffectivenepy
hes —
a Tabet] Dethat should be defined Prreclpely «
fh AP ALII LIP PPP PP PH Ennswebebdbddddscccddddacccvcdcé
}
o
bLibovwddaa
° Keach eb uh aloovitkm Ahould be clear & unambignery
7 olpelite shoul nat conten — computa code