Download as pdf
Download as pdf
You are on page 1of 14
Name: Mayank. Subhash Karemon e _ Class Roll No: 20003 2 Branch int main () 44 int Gy by Gdiei i flead i percentage print f ("Enter five sskul ranks: ” )+ + Stan€ (“td Yd td ta wd?’ 64, 4b, 40, dd fe) if (araze 44 br=3e a crx as €édeas bh eon) 4 Sum = +b +etdre | 4 printf C"'\n shadenk 44 paused cn enam with tobl of td” Sur ) 5 Perantage = [ Sum * 100 /s00.00) | paiate ("\m The pon cond af shident a » Pratags)s. Teacher's Signature | St GCOEN My PageNo:_a eee Date Enter He velus fon a? 95 Enten the Value fon * 30 Enter 6 Al srme bis © uc 5. 86 Enten the valu for di 95 Entes the value for e@: 60 Maxk anes 90 70 99 4 5 G0 Student fans tn the exam t age Tepes centage da___73. 0000 00 < Qbse vations — a 7 Stabspek’ \ oeratake he dele) 2S thay ulput ill Vatodeat i fail” 200000 whch Be yak thes we awe te are %2F Hon will shore il Z digit A : tad “AL sn put tp ranks of subject we fe Fim iet at rasual ed then it shew ep Roaubt + By thin _puesiam We Can generale marksheet of Stupent with a a Gs GCOEN Page No:. o Exee ALMEeNT No. S mg Dates 1 eo] Aum :- While a C furchtm bo eabeufate He fadboni cf the number, | Brocedune | Tatalized variable s Qa 2 Take oput frxema tre % Sia duel Fikes) eee ik ew, Wrutle formula in fack funckior a 8) Display —culpuk om Scheer B. # include < Stdlo.h> int fact Cint ); Vota main) $ De inb. fcbeaials Prat f ("Enter a number, to Calewlate ith fackprial :"); Sconf ('% d". sino )} facterwal = fack Cno)j Pritt C" factonal of the numb} d) =% d\n”, No ebnid): £ int fact (iat n) § ink (by Fels fon (iz I; Le=n > S44) ms f =F ¥*i; i hetunn E Piyush Enterprises Teacher's Signature. GCOEN < 3} Page No:_). Ny a oa Z Expeatment No. 6 *} Aim Wale 2 6 pragnam le add clement of tuo Paes y ba * Resource gongs fhoghamis stom * | Feecedune !- CO Dé clans a Vayiable Je store the tum, Say eal sums Gil We shetel sitisleasiante seem vabeble Jo 0 Ce - sum oo Gut thneugh alls dot > ae “¥. tue elesments je ahay and adld OW)! Pack tre scum. «lL fh i Fe includ, < stdio-h> tank main O) $ ink ar» Goo) , Site, 1, Sum =0; unth ("enter stze\n" ) Scantld”, Be sire)s > Pustl Center ahray slemenks\n"); fer (leo 7 ic srze 7 G4) Seanf ("7% 4d" 4 annltI); fom [l=o0 pid size (rt) Sum = Sum + arlid; (a frenth C! Sum of the covey = % d\n", aes), ‘ Suekunn 0. y 4 1 Piyush Enterp ‘Teacher's Signature- ——<=+ gmany Sine ='s | Elements = § 10, 2,5,0,30 Enter Arhay size : I + | Observation :- We enlex nore element than wrag ti then it Sho» emrer. Theat shew we can't add mone elements then inthalize » © | Repke :- This urug we penferin pregrer thal iaguk as Eleven of Bevis and add them dnd display “pat TLathalixe variable, v) Gi} Declane funchion (| Take taut fen wren. ) vi] Give statement and’ Gondustion for While nop and‘ | and if’ stetement ' w Dérplay — catpub | Freorencm dinclusle ink matin () ink ¢, fittat, lant, muddle, . search, Array Cool j é Le Pru bes Cele rouk n’): Scanf ("%d" 4m); printf C" Enter 44 Enkegen \n",n) fo, Ce=0, can; Crt) Scant ("nr 4", 4 Qiray CD); prickf ("Enter value “te find \n"" ))* sent ( "4d" & seanch )} Fimsk =0 ; loat = 2-1) ruidldle = (fish + (wat) White ( fins c= loot) if Car Cmiddle} < starch ) finst = middle 4 Piyush Enterprises Teacher's Signature. By wo \; mt, Che sf (arnay Crmiddls J = = Stanch) $ printé ("4d Found ob location jd \n", seanch middlett) oneak - | + else § last = midds, -15 ariddlp = (firgt last) y £ y UE (finst rlast ) $ printh (vet found id sont present in the \n" ceandy: return oj i Tpit te pregtarn :- Nunbon of elements : 7 Lelemenk, oo 5 Srtten value fo Frol u ti 43 ges © | Outpuk of ie Enter number of elements : 1 Enter £z take gen <4 Piyush Enterprises Enter value to find Teacher's Signature. GCOEN ), Page no: ig Date) / L fownd ot lpeation S_ Remutt : the tecation of element that we ond he input fom array <, tered ty anhay te . GCOEN yy Page No:_1@ Expenimenl No.8 oe {setecion sont ‘Ain Whe aC progam te imple if the lech nigy z Ancpeans Manner. WI Set mi fo. Finck loakion Searth Ircrrimssen tlemeak ia anny. U] wap the first teaten uth ‘nig vole VD} reign the setmel eberrent ia w){ Repeat the process unbill wo cb a sented ann fa : FH saclaole aC) forition =p t Ff (fosition j = 1) Teacher's Signature. Buy GCOEN $y Page No:_| NE Date. Swap Sonn Ci3 ay Cid = Gry Cetin} 7 Orn (peyitien) = Swap i lfem ¢ iso, ienyi reli prinad Cod 2 " on Cy) Prete rrn 0} 4 Oz ecu iz 19 a4 4s se 94 Result :- Tf we want te sont numben of any array ¢ leymonl then we suttefully sont . GCOEN } yo Page No:_1¢ __ ; SOY ate: 2 Esoperetipasns No Ai i - A Simple _C tt proopacn te cea tassel ; the cemrecet of clans cael Dbyocl fone gorgh tem, pagaans Brocedure : — QO) Wrete Source code a boades hitsr. OY = Prt ptncans: Hid Cocisis code cae, tring. te pre procorcate (D} Compi tre preprscead 4ounce cade tate objeck cases Dl Pcie eee Sales code | _@ ? a — ay le di (pat. Program 1 - He ancluole Clans feat Publ: flaatk » , geen Cin cum + Vord s'apuk ¢) § ; Souk <<"Enden radius of a Cincle” Cem Ia 2 7 Vov'd find Mnog () 7% Brey = 214 Xm ta 7 a z : Mold fing ci rcmberania 1 § Plyush Enterprises 4. Cle femerree = b.44 x a ne Void display Area () § = Couk << "'\n Brea of Cincle (s"ceang* Vote display evnewer Ch & ‘ Cot

You might also like