0 ratings0% found this document useful (0 votes) 46 views21 pagesComputer File
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
Frognam - 4
Abad. A,
s _ neo to Print © Rao wWheelty
Sf honns Used. Ul Editor
vearoy | Welly Worla” Progrien iy tm finsr clep
of
\tooning ots Penile Maa Ralso one of
—Toprint tre Hello World". we com
nom me &rd?o-h Koray” (har
Ayuwands «
na imple progyrn
ust tre Prat spurachd 6
Rage ane Siven Lining on tne
ja
Sater
de) Srenr
© Worle"
pvy lay Prong \utlo
Srep2?
eres: Gro POued!
fedora-~]$ gcc AgTtyal.c -o Adityal
luserl9@fedora ~]$ ./Adityal
Chea) a 0)
Ua Pe aePipa 1
Aw agree — 9
== > chad gun hes
0 Alum pers
fears Used! © VE alte
ely in (Cp toe Gm aan
hoo numbers Caril
Crdaihon opentor C+). ~ Thin Ogerutor eoorh> oe Feary
Opes » omni Sat ie
7 0 Pren
Srept! Stent
P22 Reed tre inpur valtetr of A ed B.
Siepd: Gom= RAB
Srp print Pelcua euY
Sreps: END
Godt:
mn include < grdio.h7
sat main ¢ D
i Sum +
int cy > y ai)
at
spam Wo Fier valet on ys
» gg. 2a)
eek 4 - yy +
Seta PF ye ob 77
pint ees iy
pod 7 he ” dun);
ahd, 4 tum )y
ee 4 Pocd
y = gpm Oy tel Ove
=. _ nam 0; S
Siero ed[s Al QUAD CAMERA
eset aa)Rapa
are Frosn cua 3
JAP to Sus
Dep ty p
s ep two nol uxtrour Using thind Ueriabl
thind veri able
Soprocoue Used. Ut Cadi tor : ;
errr tot
Then
Milhiest iy, When toe So two Ueriable in mio veo
trevalee tn ome temporary, venidile 6 Te
vn Ruenrens «TL
BA wa hoo fe
ee Swe ee dun
ant nor See
iden i fo gta kun jn 00k
Numbers thor com be auoupped tring
re Suen:
Ago ctthnn
Skepl Stent
Srp Enter” ¥
Siep 3: Prvar Te
Srepir K=xe™,
ee
‘ -Y
sep x7”Stim O% A 2a, BL);
Print + C% before Scoapping Values dha > %d, b= Id jMe
Oz “4b:
bz aby
az ab
fed b= TA, "abd
Povnt + C8 after Swapping vale of 4°
z[s Al QUAD CAMERA
Siero ataProspiomn =
Aint
Rime WAP 40 Swap 50 newmbers Lain nis, trind Van ables
re ear sar Vineator
Theory 2 Pat te vale of Hengorany veniable inte i re
RKGHteble «Par ale Cupscene veetabte fate Be
tfiast one + AAA Ie Value of Hemp veows
An end+
We +0
DGiepls Declare 4 Seabee ov Damme: Integer
Sep Rea foo Hot ard.
hyep di Resign 47 temp:
Lrep Ut ’
Erp
Zo sfocl ed "7 20 ,Lo)) se sy, bed No ay bh
sa
pers Dey poate
Noe mpd Nat, 2b
ayn guoagping 2 Ja,[s- eay
108. {Progen 5
40 Caleulate Simple Tares-
Softtoune Usedl > Vi Edt tor
og: Te find the Ltmple Iniveah fn Be Crgemming
dlnechy implement the Simple in
yaltuy dich As reer,
; foe (oe
“Hier & Principal mow Topless term al
rulle in © feweton fo _Celentake tr abedh
[see Gt 7d
degugt 7 we Com
Hommula toith
deapinedl
ink Od
H Algocitine
Seo
Peeters Prous fategen
mourn CP) pak Of inkenest(R),
loka variable fo Store te Ocbpur vel
veniables to Gyre fre principal
9 tine pentoa H+)
Stpx Declare em z
Uintch ig eearple inircs!
mala r= PERAT Joo
Srp 4s Use
# Code
Ty faclusle <érc for h?
void main
s
: (Oe
yee pik. ->:
nie (Sein eer
musth Ped JI PI; ;
towed Sige jac, OF Inneat ga?
t* ya +, SRI
hin Ce Ente me ede
Stent Cad”, 24)
@Sat> r* RT io:
Pat 4 (0 Simple Fnirer= Id Ses)
rN ee ae
mS
DoT SN
oe 1K——
Outpt ;
[s Al QUAD CAMERA
Riese tol ae}Prox,
0 Pm
’ WAP 4p Convent eee iat
Softeocn
roreelatigy
cane Wed 2 uf Cdhon
Theens + z
Na TR ie. truce Imprerenr to Conver
fenehhier 46 telofans an foloras
[eetsi Isiay a= be Crane Fe) oD ial
Peclane too vartables fan, Gels
Enter Fahrenheit valur atsum dir .
Ppp ly Formula fo tonvent telatiny = (Pantanal ad
aap Poinr Celaius .
3% Coole?
HE inelucle < G3 fd h>
Vord mein)
¢
out 4h, cela:
Point ie Enter Jemperahinr In efunenhick” Dy
Seem} Se ond
cela = t forb—3r)% $79
Priary of" Temper tein in . Fad Mn” ced,
3
aa ar)
ad Veg
Oe oar
us - Sr
m1 QUAD E
Maa DeJ /pispr. aac ei
. ioe
eg Lor )
[s Al QUAD CAMERA
SiesetalicollaaTegner
PPE REC TS Yelm ey entereel Chanceler
Rim: wre 4
OY una Useol Ul editor
Tras, r
92 Se CO preyreenmongn amehestled! vancabt he lets
ASOT tedie Con integer ros vetocen O 2 bee ous
Meer trek Chan eckes tel this integer value nee
ASC) Code OL fa cherseber or ertemple ASCIT wales
ny tabot
MYR Lo Cherects uascamle / 66 ls atorel in bu uel
Tadhen them chanectr A’ Hel.
ork ren
Aigori then_
Steps? Stent
Sep 2? Inpar chrenector.
Re
grep. Sve
preps Stapleg ne AEN gatas
eps: StoP
coos pe totaal < shai h 7
pdt:
i Upidtet wou 0)
”
is 5
panceken 7 a
iw) Us Enien Gres, ae? y
me ad ent coeneent)y
comh ef
war) j
= Gat) Chenacten 7
{ar page vabee = >
in’ eq reseu vare “4 Cet de ooh 7
prone 4 Chanceter » R6CI= Matsa) 2
"
3
BQ
Reabeiecke aia
Shot 6n realme 5Rigen 0
* Amt WAP to Celeutare Are of byron
f) & Soptoane Used > VE Editon
© Rigor tiaen:
+ Treony: Area of Syutee= gyn Gide , Rea Hebets = TT ro
Aven of Declengte =
Uengtinx beeel te
Rgpnttien
> Srel* Stent
> Sreprht Fred #
Coleute anece 2 Sqm
te, Cackius , Lergr % breadth.
> wep:
Seep ee of, Cinele
Begs BRAS Oe OY Accheenghe.
> Seep b> Prick ana of Sem
si ean | cele
oS A eee
> ee Prin 4
Stor
Suet
+ Code’
ae i « ehlucts < Std f0° h>
yold main ¢)
tne side, dorgthy en
few eneaS 7
cntal, artes ance Ly
coat , rebive
K Al QUAD/CAMERA
Silas aareRe
Point { (8 Enter Side of Sqrane");
Seam 4 C%rhel , 2 Siete);
Print ACS Enter radina of Chote wy
Seem (% Yoel, K reckiuy):
Prink{ C% Enter Lenght DR breadth 4 nectenge "7
Sem} JAA Slt Bdength )% breadth Jy
Aread= Stde * Side 7
Area 2= dengtn * breads
Area 3= B14 * satis * radius ;
Prine} = CS Aree a4 setiergia ig hd", Anca Wil
Print CO Reen fy rectemgte 19 rd "J, Aven IF
evar OF Rca Circle in Sef, doen BY
%
Al QUAD CAMERA
Saleh aoa ict» Flowchart
fesse
alk.
Z Rewer z
r
s
Title Fa os
Outpd=+ Gobroane Useol *
Wneaces An
Al QUAD CAMERA
Serene ed[s Al QUAD CAMERA
Siero ata)z
| . Bigoritiwen S
3 ep OO,
int ab)
Prous
* Alm: WAP to dink the eneate
= v d
* SOf rocrte sect #
as . OL three pnumlnen
ee { thee nenmloe
Giep Ceort
” Geep2r Read the three numbers
eps: Compare ALG Y AL
Repu: Ty Aa Noh green treniBy Compare
Poy rir the gnecckes reenter
Be tnclecte < rad forh>
vot merind J
1 yal", ° a7 Ribas yy
grin 4 C% Enter
{¢ w fal foo
8c Orn
grarc)
Biggust nenben aya aly
yu Carb
Poreed OS
U (wre 22 b>
4
ho O° Biget aries 9 74 Nb)
\
er
Sots Bigger? permber tg VY C7
2
ENE O LU NB Or NY as70
Shotonredime 5