PPS Module 1
PPS Module 1
bdule
( nUmbe
O sedocode
START
0
Tn ikalfze sum
Cr)
Jnot enky the vmber F elehehs
For f 1 lo n
Inpt Rnkr nu mbe i
AAd enked number ho sun
Ihput hunchons:
) Scan f) Used to take fnpt from usey
2) 9etchar() egde a siegle chameler Fom fnpot
int num;
Santl"a, 2num);
Oukput hnchens:
) prtntfO vsed to d'sply Amaked outputF
2) putchar () vsed obFput a strole chavaeley
Esnt num10;
Prfntf lrhe vale of num tse °kd nom);
e a (Orogom o p Asal valee
# fnclvde <stdioh>
2 Int main ()
Chay ch,
4 Printf( en kr a Chanacker:
sScan k(^c,ch)
(intf(Th ASCN vawe of is odn, Ch,ch);
|}
Qutputi B
Ener a chaactes
AsCIT valv of B is 66
The
wta example
Donvd dalayres ae data tyres hot aYe formecd vsing
basfe chatypes "ese a ow you o creale roe
Complea date, shuces.
ehn O; }
) Pofnkrs
Apinter ís a Vaniable that stores he merory
ad d ress of arother Varíable- ey altow indiect
acess to Vamables.
Avsue
odpu
Boh na
ahe
else
ncherent O+ (44q
deoreh d a - a
tnt =+;
nt
Pnnf(updoted hu
brockls
ele
=Sentcole,
Shuthy Stame
ponchalos separae caled Used
alsohe
deha
mearg Separak have 7hese Symbds1 Specal
openlor attimote atb; Sun int
dhoroekngte
charaky L
ngery reas Ehumetc
Change, dont that vaeg Aredonstans?
CalblakAm yVanabk, BA
mes seto a
win fochón vasabus to
gten ManesTdcnbRes:
gretnyfCrello
,woTd EZ:has
kekfrpresent foued Qutes, dovbe
wthn endosed Chamaelers Gop
op Shing
S:
em,stee tnt, nevde E
In
y 32C* moanlg peclal ahas caoTs key eah
de. reserved caledas Keyuordy
ae Keylwrds:
ymbol spelat Tdenshers
"shngs
tonshank kaguords "
are ToRon
h
ep wtdokens 6tpse Sormasje
bot
lt1 resu
x:2 otale HeBnh
b3 o!vale teEney
2.a: valotue the Entey
al;odenomi
r humeraor/
n Tesult= 7
syelsei
eror)") Pstntf(*
o){ 1(denomí
nal=r s
a-b; denominatoy=
42
numea
=
value
); : of tHe Enko Krintf( |9
b:"); Valofvsintf("Enler
e te h
Stanf(%F",&a;
a); valofvePrntfEnder
Hhe s
Tesolt;denmlnalur, omemtor, Aoat
a,bX float 3
C)
mafn fnt 1
2
4incletdto-h>
a-b) expessiom
a
result Dsplay yt
nimeato/dorotnalo resoF Calcak
Check
(ox-)doropnah=
ceromnahr Codeutase
nurab Coleulae
numerafo,dbrpmnalo,
Tu1b JAnput
a,x,b /Inpt
Start
chart (elos