0% found this document useful (0 votes)
25 views6 pages

CPNA

Computer programming and numerical analysis

Uploaded by

Bhupesh Sahu
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
0% found this document useful (0 votes)
25 views6 pages

CPNA

Computer programming and numerical analysis

Uploaded by

Bhupesh Sahu
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
You are on page 1/ 6
——————— ee t—“iO ee ; : ae on Domes « pore. 1 npt #5 sy erticent | value and i agvatio’) ot) Find dha ned te-poots SR a quadvelic) 4 Ulse if ladder, + include stdiony H Melude Kath int maint) 4 ‘ veolpart , img pet double a,b, ydiscaiminant ; root 4 root, s 2 Wy, Printt C" Enter coe ficient Ar% * yy SNE CO cgagce hy RA HESSD b¥b —U¥atd; tlevent) els discriminont = TI condition, For reol and dt Ve Cdisesi minsny so) 4 ii woot = (by Sort Cdiscamimomt)) /Casa)y Poot Q= (+b apt laisctiminent)) 749) 5 i 7. WA" cod gai CS vaca = 7.26 ond cock 2 grea 8 1) conestion FC dicendmihent = +0) for weal ond — eave wool Q\se § pot t= reek a> -o/(Cata) 5 peinte CS peak = Pook a > amen”, root )5 4 HW Ne moots ore net teal alse Teel port = -o/Caxe)y Wmaggard > sqrt C adisesiminany)) / Caxe’) 5 .y Pantie (is ork = AoE A H.W ond Card a= tek 70, Cealzor’y meena sealpert 7 ime port )5 3 Ferom 6 5 3 @ write a Froyram Ae check. hee many ver? 1 4p 190 prime Qumbers A \nclude Lardio Wy ‘at maint’) wnt 1,3 scovok i tout = 95 ) Paved oe Cen Ee . 4 ye) Re GR WIL? 4 ented 4 sock 5 lean ww Gy ie) ve pantt O74, ip a pime number ND 1%); count t+ j q pane, tovler ber” 1 ord | 5 parte CS An are ore Md telurg 05 f §) bowte a prereet tor mmultiglt cattery Lok tog number Ushi UDF AR include KAW int wultiely Kink nom wit num) S reyusy nud» num > F 3 Ant morn 6) 4 Yor num, num2 5 Printt Chenter two numbers Seant US dvd "nun 4 yenem 2); Ant result = mu lply (noma ynum>) 5 pane CS Result + %ANn” predutt); veluon 65 to vmltiphy 2".)5, 3 © write Oo he andere +9 saps Find out The Smallest elements tory SHY mods ona e\ement AR : 7 A inclvie Askdio. Wy vat main ©) 4% dene & 3%4 modrin ‘nt molai7 csp ty, 1) Trpvr element Varo! Ane Madi for Ging 4205 3435 vary) 0 5 FRY yi dae’) ; For Cin 3 Ait c. Ce enrer zlement Cad} Lead 2” 143)5 : { ane j am Cy 4%, aman x UII); i element wy the mnaksi x 1) Sind The Smallest metax COIL; wr Smolleck — element for Lint i= 0 8 ian) for Cant gO TN aaa’) 4 Cc Smollest — o\ement ) ww Gaetay OD oy motax C3 CIV SG. Smoltest —2le ment A j WV vans tue Soolless elemend Ay the, nckA% ion AAD’, pankt C% que serostest element 4 smaliest — element 5 Feder 05 2, GIET UNIVERSITY,GUNUPUR SEMESTER a SHEET NO.__13. fs cry to find Factoriot “of a Number cy. Hinclvde CstdiohS iol main C) 4 i Dy S UNsianed a) long factorial > 15 Painté C® Enter an mo ss SeanF C® yar, an), ve heer J show error if the user enters naive ‘6 ww Ondo) print C% Evror | factorial OF os ne does not exist” »> qeive number else 5 fer Gey TON: +) ‘ /1 factorial = factorial ¥7 5 factorial 4 = ? paints C% factorial 2 vad © AM" 1, factorial ); = —- =~ me Be UNIVERSITY A GUNUPUR genestel SHEET No. fo fp Peegean te Cabulole Te aaa os Several sleassbuce: franplest oP oF Nadwen? chudben Using Fee top *] Lyinetaile CeddToony ‘ot Han) fot 1,7 stupe6 3 | pettF(" eden a peditire indeger "5 | dearth? Pn) I Pou 1 sien ; +47) i Ow =F 5 M cow = Guay 4 Fs | | pret. coy 2 te? sdtet) 5 reetwen 03 Jom pal 3 Euler mi poethtno integer : 160 Stuy - Bo Ko

You might also like