Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
13 views
52 pages
Algorithm Observations.
Uploaded by
Krinky
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
Download
Save
Save Algorithm Observations. For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
13 views
52 pages
Algorithm Observations.
Uploaded by
Krinky
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
Carousel Previous
Carousel Next
Download
Save
Save Algorithm Observations. For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Algorithm Observations. For Later
You are on page 1
/ 52
Search
Fullscreen
OXFORD COLLEGE OF COMPUTER APPLICATIONS Date: INTRODUCTION TO ALGORTTHM, A sel of finite rales or tostsuckons to ve fotowed iy caladations or other Problem - solving Operahon. wohed fs Algorithn 7, / Trpat Characteristics of Algorithm NEU: ACFENCD = sevputs WELL-aeriNce 7. oerors v \ —— repsstie elese AND] { CHRPC ERISTICS \ acqoestiy LeniQunae EOE PENDENT + clear and Unambiguous : the algorithm Should be and unambiguous Gach of tts steps Shed be Clear 4 pect and must lead to only one meaning. + Wat - Refined Inputs + of an algorithm says fo fake frputs tt Showtd be wet cle fined trputs. rh may or Mey Not tare topak a PaRSsELE + wer refi : the algorithm must clearly define what olkput will be yietdled and tt thoutd be wWell- de fined ad wut. T+ Should Prvcduce atleagt 2 oulpul PAGE NO: __02. © scanned with OKEN ScannerOXFORD COLLEGE OF COMPUTER APPLICATIONS Date’ + fintteress she atigoritbm must be fintle ie. pt etould ferminate after a finite Hime, + Feastble :- The algorithm must be Simple, generic ° and Practeal, Such that th can ve exceerted with dhe available resurces. Ht must nol conlain fome futeore technolegy or anything. ‘ore todependes :. We Algorithm detigned mush ee language - trdependert «et Ynuse oe juct Plan PoStauthons that can be Pmplemented br ny Jenquage § yet Me output wottl we TE ome. Crepected Tpubi- AM Algoritom has zero or more Popuks al operator mark gach that Contains & fandanent accept 2&0 OY more “pts. outpul :- OP algorithm produces atteat ore cukpud cpruckion thas comeins 4 funda ourpur. Every tO | mental operator Re binitness :- AL angtruchons 2 OO aigontom must e onary igus precise f eaty to Ruter Pech: By referring to ary of ane Postouctons 2 ar algoritt| wy one can clear by Underefard whad is to done. PEHeOess pn Algorithm excl be Jecanfinate after a Finite number of
41 Factude < math-h> define pr 3.149 Yoiel main { feacs vs aia, abc 7 Print Co eadies); Seanf. C1 # $4); ace prtrtr; Printf Co nren of jie citele #36 *, ac; Prat Coun enter Gicle 4°); sceng CHE", $s priate Cin Eater Sicle 2"); scant CHL" £6): Paintf Cw Enter ade 3°); sean (Hf, 40; s+ Catb1e)/25 cut eget (5* Cs-a)* Gb)" (8-09, ee prea of ihe taange = tf a) get ra @ scanned with OKEN Scannerfuosocunel, OXFORD COLLEGE OF COMPUTER APPLICATIONS Qubpul :— fodius « 2-6 Area of tne circle = 19.64 Enter Gder: 3 exter sider: 6 Enter Sde3:7 ee 2.44 @ scanned with OKEN Scanner————_— Force names a. xovaesl of {ree Araoes Tus eps start cep 2s Avsploy Eater nwo ead 4 : Atselayy enter eae pead 5 Bigplay © ender rue Be Read C cece > $e ae + witolay O'S louge st * go to ster @ af fatee - go fo step @ af dave step = check booq 4K BC Ht faver dteploy go to stee® Hf fate go 40 step @ giepio : check co AF C9 {tae ” ple ¢ « ngs” gp to se © xf fatse “ee ® steel: STOP: OXFORD COLLEGE OF COMPUTER APPLICATIONS Data’ 1ST lacged” Expensment No. 02 Koxaprt of three panes yincaide
Pond? Cun tel is largemt b), etee ( Cora ff eb) paint{ is laxgest "6s que J Wen: Ds @ scanned with OKEN ScannerOXFORD COLLEGE OF COMPUTER APPLICATIONS Oatpub Firgh rurober ! 4 eecore) qusnboer + 2 Third uroboe +2 4 ts target Fire number + 3 Beord) umber : 40 Thiv ol namber : 6F os Joxeest v Eeeck neuleer 2 er: 4 second num stave] ure cis darepd @ scanned with OKEN Scannergon Saget gts gre 49 03, Peverwrg nicest geoph: 108 step> ead 9 cera - swvkeuize (0H 0 step: cher PO {Anus 9p © cee ® a faue go siee @ seeps + compare ren tto revs veut lod w:ollo gp 4 ste @ : 5g weplony peverted neebers Te” step?::- stop Vy. OXFORD COLLEGE OF COMPUTER APPLICATIONS Date _ Priwtg (in enter a0 sean (4d 4A) rolule Cn 70) ren tior vey rev 10-415 n= olor ‘ paint? CVn eeverced digits getcno va EXPERIMENT #03 Reversing tre digits of a7 I ft toctude € shebio-ne Void maint) tak oes revo; etree vaeger axe hd”) rev) @ scanned with OKEN Scannerf OXFORD COLLEGE OF COMPUTER APPLICATIONS cutter E | eater an teirger + 4867 peverteef eligtts are: 16°4 7 Ms @ scanned with OKEN ScannerGes ee F COMPUTER APPLICATIONS o: < 1 eo OXFORD COLLEGE 0! wget Oy : fees cose ee O ea BERTMENT ! 0% ee J, wx ex stepa: chat 077 te ne I Fnd EP of 0 urioers sie her tretude
i scant (td ¢020° pohite (191 7992 4 ; Car? py nt ne elec eu 4 pant (1m go7 4 903 get? y outputi~ fivsh umber 14 gecond ruber’ 36 coe TanENG: @ scanned with OKEN Scannerbers ting PFmE les <, General . pucontt™t atop, STPET 3, Count? step? oe gteps: eet on." etepd 1 hee OTe go 00 as fae gp 12 © 1 safiatee f+ penal C7 chee CO" cep O ster ET ane 90 + age 90 ® sep O seed: comput 0c teed 5 chee 170 p v0 ste fe dave NSEGO fo Pe @ an y vt SHEP 0 + step w: onete 4 step ya: Drcreamend OY 4 e step 131 STOP a — OXFORD COLLEGE OF COMPUTER APPLICATIONS ee ExpeRImenT No:os | - Generate N Prime numbers 4 tnctude 2 stein | Noid maint) ¢ pak nets mcr f, count 2 | clrsevos oe Paid Cn ators any Pome oun scant (4d bmi); wohale (cou <* t fra for (cx 25 cenr crt) ¥ ers? J: 4 vende < print Cd DF count "3 y nm ? @ scanned with OKEN Scanner¢ sae praswre T ieee 4 3 [rente [ies 0” [count cunt 1 | | [rags 1 Gan) ees Lt @ scanned with OKEN Scannerera’ og. ered esti NeoR step 4 STAR! elite “ckep? granliee ep. {seo step as Pend fr step 4: taipalite C7 chops: check ¢ < term dove go 0 Se? OD ts feuse go to ster @ step g 1 ASegn fefab < fi-f {oefs step 7 : Inereament C by 1 gp bo see © step g + arsplay {3 step: stop. os OXFORD COLLEGE OF COMPUTE! RAPPLICATIONS §=__ en Expeeroient compuring Whe © a tectdle <.ctdio.n> Noid maintd clrser 005 paint ceant (td ¢ tern); paint Cn sibonact getch | y filoonacct ruber { wt ern fro. doea fs ie Gan wlsun Fert for Co as ceterm ; CHD No 106 ays number ts td BD? @ scanned with OKEN Scanner—_— Serer eee ee eee OXFORD COLLEGE OF COMPUTER APPLICATIONS = —__| octal! whieh term % 40 Frhoracc eumber 5 134 Na @ scanned with OKEN ScannerOXFORD COLLEGE OF COMPUTER APPLICATIONS Date: EXPERIMENT NO: OF Finding even ard odd ournvers if Tretade < stdion> Void main(d far n,Ve curser () > paint Cyn ender a number”): Seanf Crd én rento, ‘EOr==0 past (in fel even number” 9), elke 4 pant Cn dd is ocd number", 2); geteh0 > J output + Enter a namber33, enter a number’ 12 23 i odd pumloey IQ is ED PUMbeY @ scanned with OKEN ScannerSS tues of he og. Exerargig We vas jugorD net Vowrableds clep 4: STORY step: ead a ctep 3: Read b a cep scales a. ard ar a,b cepa? FlowcHeet * om NI Gana] ae OXFORD COLLEGE oF COMPUTER APPLICATIONS es Frpcormen HO: O% Mpg the Vatues of tuo Varianles # trode
30 atu evchangind a s canned with OKEN Scanner£4. ceenking : paid ramber (rm 100 to 200 WH ay, Anite oy 7 edt cigplay their Gu 4 Com Us for (ocr ALGORITHM ste eT Tritabies Cound <0 enn <0 Batice ni = (oo SEP 4 = Check 0) <= 209 fs tee goto SKP oO feure goto stePO Step ¢ calatlate 7+ MrkF SEP 5 cle o : sg Feve goto step © fate goto cee © step 2: Zicploy fe pecocament court PY 7 te tum. GUO HON go #0 step @ step &: step q.. colasto ancscorterd OV bY A shop los Step ns Bieplay coud step ir: Bikploy Sam Step let STOP OXFORD COLLEGE og comp -——_ UTER APp| LICATIONS epi n count eins 9p Aivicine by 4 4S9g for trop arel Aiea 49, Nofcl maine bude
ut 0 javen of ae rtm Aeon 7 cept abet cum +0 tw halt oes cep TET ton ny Tarte spa + Of grep: end? step assplay ep e? sikalite 6°4 20 cep 7s cnet C£ Cres toe ge 0 O fs false go oO step ©? Read 7 = gum* ctep dt caladare #007 i step @ ctep os Enerearnens © AF : ” numlots step us eieploy “um of a Het fur skp £F0P \ = See OXFORD COLLEGE OF COMPUTER A PLICATIONS EACRIMENT Hono Gomoabin of of bets Al trdtude crteio. he Void maine) fet Om. tasn-0; Clrser Pow fC \n tov ras rasoveys?”) scanf (4d, dnp) Paint (vn Eater dd numbers one -y-ore #1 9)7 for Co-as ceo5 oH) ‘ Scant (*4a", 4m); fam + gant; 3 Point geen: 4 [Con Bea of aut 172 maalosns oid @ scanned with OKEN Scannerea. EN OXFORD COLLEGE of COMPUTER APPLICATIONS Deter apt = How rmtny curchers > 4 Enter A MULES one s 3 = Vt by one Gum of att ine numbers - 22. s ____—_—_— @ scanned with OKEN Scanner| ae OXFORD COLLEGE OF COMPUTER APPLICATIONS 44. Tactorial compulahon TEES annaEanE aa ALGoRETHN EepepirmMenr No step a: sTART rrvwateee {=4 Factoral compte ton step 2 Ai todude < ctdio. n> stepg: Bead & Void maind Step a check 930 f twee geo eO yf feuce go to HO 4 oe step 6: calculate Log tab ft) £60) clreerQ; : nen-2 Paint (yn Enter a nuemioer > go +0 step @ Scan? 4d” &n)i ctep 6 : 2icploy " factorial 0 w wile (nro) 4 step? STOP ¢ t-te ne n-45 Pring iAn Factorial - ce ih ( 5 @ scanned with OKEN ScannerOO APPLICATIONS outa = Enter 6 usnber ss factorial = 29 @ater o number. 4 factonal = Sods Gaker a number: g Foctoral = 262825 he @ scanned with OKEN Scanner‘ORD COL * oxF LEGE of COMPUTER ArmucATIONS f£ “PERIMENT v5 Generation of Peonac Sequence Up tom pinclude 7 shdvo.i, aod eecunt) L tak o,f e0. fet fan clvseros Print CVn cute @ scanned with OKEN Scanner_Eloseupel Khe lad vuinber.- Alec the last muminey 423 64 PAGEND:_¥6 @ scanned with OKEN Scannerwy oem 1a avey pues coe? aie peal 0 wn trihabe fo ctepa Ite wee TO cep 6 gate go to ster ® oe read ove 019 est ra : prernarvent Foyt oes ” oi rad ee ere codes 5 sep abalie€ 0 spa uc ED * swe go 0 HPO x fare go to see @ © sep to: Bteploy ari) dep trereamen 1 oy 2 gow Ser © cep 2: Seely Array affer Toversal step Dwihalee f 9-4 dep we: chee f>20 ; ts tre go #0 Skr © ts fone go fo step step is: Risplay arCid ctep 6: Recreamerd + by 2H to SkP @ step i: stop AOS Ofer yey al A foetide estas, Moidl roan, fae ONE og } Oeser ¢; ; PAE OVW sey, SOME Cel, byy ed Cerrens boint, EC n enter yg , - *0r fen; 445 eS Vn Scant Cmyq., Leste Pont fre HY 9 Pain CH sa ase c.3 Pent (V% esa afte for c: Prof OF geting ; 5 Toso, » axtC:3), _. — @ scanned with OKEN Scannerort re OUCté~
a Ender 6 poe nwe original axtay is Face prevasy afer reversn) 7 @ scanned with OKEN Scannerstep? : stepe skepq ¢ stew step sep step 1a skp step ie Ase) tei kalize FO chet or ceo © fs te xg fare go # see cece arr)? max te beve pswgn max: o1rC:] go fo ste @ 4 falwe go te ee® + seercament t by 1 go 12 see O Bieplay* marcimum Nysses”, may erop pe wteR APPucaTIONS. eb ie Date, ao Pred, HE POM, yp tocbede < clelio.py void rain) i HO a at Gh OXfT100.8 may cirsero PREC VP HOW eney clement » scank C14", fn); paint? (An Sater | for (i205 tenyyy Scart C 1d”, faxrgiay mas = att C0}; . for Cina j ten, iney 4 oumbeis \n COPE} soup Mare: artCi]; 3 Pew (Vn morcimam rumba = Id Sacnos~ 5 max) @ scanned with OKEN Scanner_ PR APPLICATIONS tpl . we = sors HOY Merennys GAO 6 OUMMber: + 6 2 4a 3 0 mareMuN Durber y 44 ay aoa) * @ scanned with OKEN Scannera Pome ce wnplical® glee (2! 5 trereamend t by 2 go F0 pO step 13 cep hep iS orp IG see Ft step a: ster 14 ately cwkabee 1 chece 160 cep ® te tne 0? ee @ rs fue Pf ead we gre se ® 1 Lecreart . rwhalite {0 € cnet 420 to dtu ge 10 see O ts faure 9 to se ® seg ore cid: - 994 : Licates Biceloy “ curvos} bvefare rernoud) dplic Tyikebse f20 cheue ten te re gp sof O ig (alee go to er @ atsploy axe Ci] teertament 1 by 190 40 ste © Gwsbative tog a @ scanned with OKEN ScannerStep 30: step 34 step fy te yo 0 aves GI ster 26 6 cep ago oe He © cece ard * fs done go © ts fane go sgn foerd> step 3¢ 1 dreramed J step 36: chece found 74 ts Fave go & SEP 9 Ps fatre Go to tR step 33: Psegn arolky = arr CH step oe: trereamens & bY # step @® ctep 2q : Tremamenst f byt JP fo Sep 20 ark plan” Array affer IPOD dpa Step 34: duibalie to Step B21 Cede tee ts teve go to step 's fae go to Stee @ step 2a: aieplay arr Step 24: Increamed t by 4 Q fo Stee 32 step ao: stop @ scanned with OKEN ScannerOA Oe ee tEGE gy 0 Py — duplicore, PtoWdé Cielo ns MO, Soiel rain 1 £ oy oxesLony ates agp arser; ee PREC How many» scart Cte Any, PHC Color fey fr C0; Stark C44", dove y PIE CV teas hep \ OF fore for C05 tenstuas dhlicates PRIE CE Sd aves cy for Cos tenn Boe for C= 05 S05 js) Hh Cone a 0s) found > 05 break 5 @ scanned with OKEN Scanner___ "PUTER APPLICATIONS Date: for C407 fee 5 iyyy pont f Cred, oxy acey); getth 0; J utpul + ewer the S20 of ¥ caren i enter 410 Number 22569424 6g axtoy bbe fore rermoving He duplicate Oe SG Oa orcas) after ang duplicates 73869448 2——— PAGE NO: 61 bh ai © scanned with OKEN Scannerave) (6. parakoning a ) qo ae vary ctor) ctep 2s Bigplag” Hort y aoe ctomenss” , ane RE 4 Sreplay “ON hie Tywhakee 170 cep chat ten te drwe goto _ es farce go 1° ste : Read oxy C1) wy agen HO ol SRE Es cmeremend f ced eadare mrad = tyiboie 10 SRE Une te oud fs true goto ste © ts faret gp to ste @ #6590 ave Ci} =arrCi] = Thomment thy a go te see FRR 18S thabize Te end coe IS Cheuk tay cep ig ts tre 90 40 sep © te fae goto step @ SHER Gt mean oKrsEH) = ail; SEE OS Tocseorcent toy 4 a to step @ SHR: Bicloy” prray before partitioning « SHBG: Sriboline Ze 0 @ scanned with OKEN Scannercep se cere ete at @ fe nee ee ss fore 10 KO cup ate ater) TS wy ’ step 22+ Teen of wee sep 227 sicploy O°? aA oo oe bo oo 3 hep 261 neck reve at sep 26 nD 0 10@ ts sone 7” eee Pre to) en ser @ 1 ctep 265 0 ee ee step 30: mnibalire co cdep 31 # cneck 14D xe @ stop 32+ aicploy ate Od feploy outa CS @ seep 23: Drorarne | Seep 34: STOP @ scanned with OKEN ScannerOXFORD COLLEGE OF COMPUTER APPLICATIONS Date: ExpeRTMeN] NO +16 per hoping an avo) ap foctuce Zsdebio.h > Void man { sud aves Coe), axt2 (loo), axral to, é, n, idl; arco; Paintin How any elenrents 2°); scan td”, £m Pott (vn enter {id ererments \0" 0) 5 for Ciso0; fen; ith) Sean f Cd, for) cd)s mid = n/2; J for Ci=0 5 te mid j rH) ore Cia = am Ci; for C= mids ten; tH) axes Cid» arn tid; Pott Com erray before Partitioning \n"y5 oY (1205 fens ttt) Pont (SAE; anes Cis Prdtt (Ww Array - 1 \n"); for Gio; te mid 5 144) Panté (oh sd, area Cid); PAGE NO:__ 66 © scanned with OKEN ScannerOXFORD COLLEGE OF COMPUTER APPLICATIONS Date. Panth (v9 array 2985 for Cte nvids feng 1) Prod (ob sd, aval Ds gao § Qulpul =~ ttow mary elements 710 Garter to elements 64132986 43 axrouy before pax khong 6413272643 arvoy after pax boning arya - 4 641382 OK Coy aa? | A PAGE NO: _ 64 © scanned with OKEN ScannerFORD COLLEGE og thee ss Te _—— = *MPPucrigns *PE Rinne, ~ HOM MO Wing PS ay tncbade
- 7 Mt | rs a i 40 Stop PAG @ scanned with OKEN Scanner18. Rend Nghadent marve and find numbers da &, t Ned, or COLLEGE of Conp Passed step qt Step 0 skp sep 2 sie 2 4 fost depending en wre rrarks ALGoREIHN cre Twhali 26 basted =0 fosled =o shodenss aigplagy “Hoe MOY + Read 9 fea aks Of Shiderayss Sywhauee +0 display, ” Enter cheae #29 ts foue go rs fae go ste © epO « Read marks neue mares 7740 fs ove paced * pasced +4 got ster ts fore f a foiled + oo see @ 1 oo a go sep @) of shee pocied * asc} “foie Sperenmew Aisplayy * Nluroleees roy: ne of det fe stop { £ 4 bE pant Cov sends ‘| pont (C0 He re = PuaTOns of al Shelens nts “| ent faseed Ly, se 2 Stdions a nin) ot tak POKES ST. Mised ord fed led at, deer urs 03 pe’ CNG Hon ara 2 sean C Id ~ print EC EME HE wa for Cire) fens to) scant (4d, fares) 1 (masks > 40) paseed ** fod sl acnO; @ scanned with OKEN Scannerpre ee | ssied se | @ scanned with OKEN ScannerFa. (ound HE HEMHEE of VORIELS Consomats ar otf Ade character MHA Fath stang idl ALGOP M04 Khe Numbers step a: dwhalize veo Pricos orders 4) co | | Po Be (nds ¢ Hao, P35 Replay “Ewer INE Kentence | m0 4ep4 i Read cent ae stepo: twitalize to rox SOnt Cony steps ¢ chev: KenL CJ po" Rak 4) 20s Cg, Bs true go to step O cltsor 5 ts forse goto ster @ port C9 Gace a sen, step 2: ASEGD CH= to upper (sent C1) gers Crensy; - cep ©» chee oh >= A’ 44 the: for C1205 ent OY fs Awve goto step © fs fate go te Step @ “ete q 1 chet Oh = Hj == epee ET WChe'0' tg arue’Go fo step © is Fare ge, 10 ster © HE Como Pad oe 2) oe . ee cea ts Farce go to sep@ Step 44: Tooeamenr ¢ by + JO 10 ste, step 2 Dieplary -° yowels>%v Step 12 + Dikplory * CoNSononhs =" cep 14 + Bieplay” Pecvat crawacey = "kp step 1S} STOP vies ele cs 3 etee if Copd7o" > q) sptts PAGENO: a @ scanned with OKEN Scanner= hog t ee FOR p CO "Con UTeR APPLICATIO} ELowaHtr s sant CO Yor ost sf CVO ro I ae ost enter oF & 99 *0 Nowels = & copra: 4) epeciol é fe ae / fame “Consonants”. C// Laie — 7 STOP. PAGE NO: #9 * @ scanned with OKEN Scanner2" Pod addition, oy &89- funtion, Step 4 step skps + Step q Steps: Skpe . Stepa seg , DSPlos "ender the clemends of medoice See q Skee to : Step: step SER ste a step is + Ste (6 + + Bicep lay * west y a Nd Sbset na hiey of AL SORT Hy swmpy MEPS > ambey Of ws Read ow Meplay "¢ NEE Coleus » Read cof ®eplay” Erpey Clements 9 COU ttre funckon read ary Cm, ww, col) COM te function "ead OM Com sro, g31) cau te furttion Tread axe Cm», rma can tue fonction Salo ax Com1,m02, aww, 61) 13 01. Col) Birploy “Addikon of 600 waiaces* Cou Hie fencton Prt - arr Cma, vo i) tion: of wateices route function Poin G4 (iy) roKy, C01) stop {Ie AGE NO: © scanned with OKEN ScannerFurtion read: xy Ca ad COLLEGE OF COnPUnes rn TE APpuarions ALGO PITH, sep 4: staer kp >: twikalizg Po SKeP% ~ Cheue 4 mv fs deve go fo Clee @ ts fone goto ster@ Step a + pyshabize jro step e+ Chee fe al fave go to Step © is fatse go fo shep@ step 6 + display "Coder tne element tee, jt step 1s Read alii lst chee gs LeUcament iby 4 gp to step © step q + tworcomend t by 4 go to sep @ step 40 1 STOP FAGENO ET) @ scanned with OKEN Scannertanckon add are Cm, mo =. a » CoLy, Algorithm ae Step 4: sTper Step2 : Lwikalize to Step a: Checic fe ww 8 tewe Go fo Step © fs fal go to step © step 4 Iwipatize jro wkeps Goede J col is sve go te PO is fatke go yo SPE gtepe : calattare moll (sds CIC T tm jCi] step? : trereament J bY 4 go fe —@ steps Eperea ment 1 bys ge te see © ctepq eS ToR LL} nd RD COLLEGE oF COMPUTER APPLICATIONS | PAGE NO: $5. @ scanned with OKEN ScannerALGowi THAT KPa ctnpy SRE. Cakatic tp Pt hee te ww FS Aeue goto “ee © #3 fanse go to step@ Step a: teiheuice jz0 steps Chee F< ol FS Mrue go 40 ster © S fae go step@ steps : Ske} + rereamens j by 4 go to veg © SHEE Erereamend t by 4 Jo fo step 6 step q : stor 4 CICS: CICS ong cic
Noid read arr Cint a Col Cio)» L wml vow int col? wake for (iro 5 Yevon; 1) 4 for (j= 05 4015 4 v) t pant Caner element id tdi tt ais) sean fC 10", faciycid)s 4 i y Void add - axv Cos { wr Cio§ COI Lt], wt PCI Lio}, WE me CioC9}, Fas WW, PAE col) WwW )> for Cio Teron yi) 4 for (j=05 5 @b it? { malOcide mCJGI4 moCICjs 4 Ue 4 PAGE NO: __4o © scanned with OKEN Scannerthi {or Cie 95 fe row; M4 {OF Cjs05 jecal gud ma CLI mi CC) - om CCIT Noid Prd arr (int MLioICio}, wt, rw, id ol) { tab, gs 4 for C=0 te rows 144) { for Cjs05 je cols jr Post Cd sd", mCiIEIIIs Paw i C19"); PAGE NO: © scanned with OKEN Scannerer FORD COLLEGE OF COMPUTER APPLICATIONS Date: Ht gar MICO] » m2 Colla}, ma Cojo], 4 Co] Ces, row col, avs Port{ (om Number of rws-"); Scant ("4d 4m); PRA (Wy Number of colwrors #7); Scan (yd, 4 col); Pont (iy crver tre etemenss of makox Ln); Yead -axr (1m, rows Col) BAA powit (10 Eater tre element Of makwx 2 \n"); Yead avr (m2, row, cold add- arr Cm ms,m3, Dw, Cols Swo-art (m1, m>,m4, MW Cl; Pont! (19 AddlikonJof foo mad sices\?")5 Pnt_axr (m3, row, Colds Print? On cevotratton of foo mado \o"'), Pont ox Cora, row, (ol) 9eronc) 5 oukpul = Not of JOWs : Nuxloer of colony 2 Enter the elements of mete 4 Enter element 44 ¢ g Enter eleroent 4 "6 Enter eheroe 7 Enter & ud 73 PAGE NO: _ 12 © scanned with OKEN Scanneri oXFORD COLLEGE OF CompuTER APPLICATIONS Date: “Ante IMC Clerments of mesa 9 Ga Gwnree elemerd 44 5 4 Ewer etement 42 2 3 Enter Clement 20) 2 9 4 Enser element 2 2 Addition of he matsices 2 4 ab Suotoackon of tun med ces 4 3 So. ee ENO: 93 _ © scanned with OKEN Scanner
You might also like
061585673X Coding
PDF
100% (3)
061585673X Coding
689 pages
AI - Writeups - 1 To 10
PDF
No ratings yet
AI - Writeups - 1 To 10
20 pages
DS 00
PDF
No ratings yet
DS 00
30 pages
Unit 1
PDF
No ratings yet
Unit 1
73 pages
DSA 2019 Solution
PDF
No ratings yet
DSA 2019 Solution
34 pages
Unit-1 Introduction of TOC
PDF
No ratings yet
Unit-1 Introduction of TOC
14 pages
DAA Unit 3 (Dynamic Programming)
PDF
No ratings yet
DAA Unit 3 (Dynamic Programming)
33 pages
Algorithms and Complexity
PDF
100% (2)
Algorithms and Complexity
140 pages
CS8251
PDF
No ratings yet
CS8251
31 pages
Assignment 2-1
PDF
No ratings yet
Assignment 2-1
12 pages
AdaModule1 2
PDF
No ratings yet
AdaModule1 2
41 pages
Assignment 2
PDF
No ratings yet
Assignment 2
40 pages
BCS401 June July 2024
PDF
No ratings yet
BCS401 June July 2024
2 pages
DAA Unit 1
PDF
No ratings yet
DAA Unit 1
35 pages
Daa Unit - 1 & 2
PDF
No ratings yet
Daa Unit - 1 & 2
87 pages
DAA 1to3
PDF
No ratings yet
DAA 1to3
47 pages
Daa Unit 1 Notes
PDF
No ratings yet
Daa Unit 1 Notes
45 pages
Computer Architecture and Organization
PDF
No ratings yet
Computer Architecture and Organization
56 pages
Algorithm
PDF
No ratings yet
Algorithm
39 pages
Graph at Multi. Mati
PDF
No ratings yet
Graph at Multi. Mati
26 pages
DAA U1 Notes
PDF
No ratings yet
DAA U1 Notes
52 pages
DAA Unit 1
PDF
No ratings yet
DAA Unit 1
58 pages
Errola Dsa Note 21-03-24
PDF
No ratings yet
Errola Dsa Note 21-03-24
64 pages
Daa Assignment 2
PDF
No ratings yet
Daa Assignment 2
13 pages
Data Structures ShortNotes
PDF
No ratings yet
Data Structures ShortNotes
15 pages
DAA Unit-1
PDF
No ratings yet
DAA Unit-1
20 pages
ADA Solved MQ @vtudeveloper - in
PDF
No ratings yet
ADA Solved MQ @vtudeveloper - in
32 pages
AKU PPS Pyq 2019
PDF
No ratings yet
AKU PPS Pyq 2019
11 pages
DAA Unit - 1 Notes
PDF
No ratings yet
DAA Unit - 1 Notes
28 pages
Arrays and Stacks
PDF
No ratings yet
Arrays and Stacks
30 pages
Flowchart & Algorithm
PDF
No ratings yet
Flowchart & Algorithm
30 pages
Untitled
PDF
No ratings yet
Untitled
11 pages
Data Structures UNIT-1
PDF
No ratings yet
Data Structures UNIT-1
32 pages
Daa Micro
PDF
No ratings yet
Daa Micro
25 pages
STM UNIT 3 Part 1
PDF
No ratings yet
STM UNIT 3 Part 1
30 pages
DAA Notes PDF
PDF
No ratings yet
DAA Notes PDF
79 pages
Data Structure 2
PDF
No ratings yet
Data Structure 2
50 pages