0% found this document useful (0 votes)
38 views

C Language 1

Uploaded by

imamrazawedding
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)
38 views

C Language 1

Uploaded by

imamrazawedding
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/ 44
mn Pause wy the “I shaends We prop eat a Paogsamming Such od GO" a tenes phy ae Goftwane iu the codlection. of — pmagia € Longuoyt-_ (wv the high Level paegseing ' Btenguage TEE so proceed i dong Which du used to design, System Softwaes and f Ssfrone ete. At wos csedted in the (930 by Ritchie. a To sieplace the rose ! Vine. Dhe Pa/r tae ge Li AO popular becae uit dy seliohle , Sim} ea to whe. The UNIX opeayaly, System ee A wositten Fain 'C. Beige as that ibs Compiey uy | CT Sonyiage ey considey’ os a. middle ~ evel - ie t ’ Qi featives (et) Hiph deve os piddle devel danguage . (b) Beatoate - i) Provide Buitt su junction in ¢- Libseasy, Cd) Prcinter ‘a A- Smal dongusge hosing 32- Kevboastds, CF) Extuisiable dan age a Complication and exeeuben, 2 astex. Ch) Supp modular puto ee Ey. Ss ppasd Dynamic memosy allocations dike meus ite uccosding to pol ty d Anpul| | Output sy 4 juncioma pogsiam. qjuadion Main. per and Vatlable . Jeclayation ond stalemertt ds be ted fox ‘npal g oy function Mean). Brarple + uth & PHoguamme message “Heb” 4 ae ‘include 2 Stdio- * \ Vold mains ) Choy (): prurtt 4s Hello"). - goch U;- ¢ 0) Outpal ( sett) ‘ ning ¢ Loopy , Aram. os ¢ Slanguage. : oy yf eo te psd your trifuoduclions vin oe ain Sldto-R > Void main y . chirex C)' og (Hello An 4 um auah In wt old , 4A om Pessing Ce Aandaoge Ia an) BOA Studeit By ge ich), Oulpal= Hello : am ayuth 4 A am ad - shangu' A am Seaining 6 sap A om do a 0 numb =", Ipub = Sum of too numbeys = Q), +. Keyword ove wesult wordy that have ES a meenin ihe pergoum Oo Specific Task. Keyesonds to be Seatanny tn ower case. deffo. We can't we them oh name oH wotable,, Junction and Detar. These owe | 3. keywords in C- Language, Sint Alo —doubte = AP Parle Public Salleh feng. i , Ohide do else Pt Cox chas. Sting 0 re Wessels nome J of und cll steles opexabing +o Unidentifive. the vastiable, ae Type vosttahle - Vast; Dota a type Vaud, vau 2) vaud. » Nouu,! 4 eye diab Hy; Data hype Noone ~ mame = » yate-ype sud = value 1, Vaud = fc Dd A= 10, G= 90, g= eit Operates in operators du a Symbol which © Ctusleh tre Compiles to tote and acHen and opexitasy ads om difesent deta Thurs Called opesectaxs ae opesttenn n, a a opreand, ype Conversion Opesateuy.. Assianment Opexateny. Conditioned Openctary . © Shost- Hand assignment Ope sites. THAT Opexetoss . O Aisthmalic 0 Plelowye-(uuthmaltc Opectiass owe Used {OX mathematicat Calculations. They ase Same uanicveg and Some Binwny Mathemali ct, opexctous Opencitou Meaning * a Addition 2 Subbrac Hon x Mubhipticabion i Divisten / Modules ts ind Semoinden. pute ‘inesremenit” post Tnestement- pete decstementy post vies a chasagter Jo the Scseens: 4 C micsio. vexticn). DESO otic a ine. Seanf 0 + steady Josmalive date Jom @ print hos oatie joumative deta fo “aa SO cane to eater the Base and High oa cthany Rind the: oueacand pevimelend GY tadeangie y © Q Ao” ° ek, | a WW include 2 Stdto + Sackud L tno» i 5 word mein C) cn Cor 9, # ~ Ant, Bose, height axea, pert, abies puting C Cres i Buse. of tatiangte >) Seon} (*%d", a Buse) + pai C Gallet the hetgkt of -torrangle 2"): toi Crag seit "4 wiea = a * C Base x hetght ; Mind £* The ayeq of tanrangle "= cviea); ad (The ey ' a ae Scand Bee, ca): : paint The vodue 4| 1). Sean eet Bye pring (The value of "=< ); Scand C8 fied" gO co); ert = Ae BEES pair f= C the paimétesr of tariangle tak J 4 8 § @ , a po } Th value of Ce | SeON. : pasion gy Tetangte ={l0em em WAP to erikex the name , das, Rod nd; oiddsiesg Ge uw Atadent and displays the siecoudA sreapecting Are ‘include 2 Sidiot\ ve ‘include < caito-h } ae ‘include £ Stating: h } S vad mein c) B Ghe sex Cj; eee ia = name, clay, Roll numbest, addness , fel 1 =(" Enter the name a Studer"): foods Oye fname} - PHI | Rites the Rot number of thaded ="J5 pad A \ a Rod numbest) s : C iler the addéiess of thadent " =); ey ia Sean! Cp Fabre) ee (gu) x Ih os ‘> Output: alot the name ot {tudentt . pg Crtex the nome of Clon Ritter fhe Nodh number o cr. Ende the addsen 4 Sader, - WAP to ertey two numbers and Al these numbed « Ae ‘include £ Stdto-* } ak ‘include ZL Cmito- fh} vad maint) Cha Sex C) tat (mM mim, , femp =O; paar (* es e, in bolocak? on A adit & ee i) cabion A ="); Critey aoe an hotation Q = "J; a ( yh 4" »em 5 temp = temp + n,; oY = Mas = eg j pil 4 fe iyi Swopin mumbet on ection A= 4 polnk J c a jumbey dn Jocation B= "J oe 5 3 “a yy (Stoop).+ Pita tet that nah a ‘al i Di Da » Fnclude £ conto vad main t) : cus Ses L); aes : ’ soul” - ps es ‘ at) ‘ og the patneipal omewtl = J; can pt gal: pi Bi tw fime ="); Seon} Cm?” J 4): = (PAu x t)/ 100; point F C'\n The Simple inteneit 4 gen ‘inpths= ST gh y; 4 Oatpul + Erifor the principal am ouil = (ovo nlew the stole of ies 80 Ye iam € vex th, Hme = De The simple ‘ilexeit of given a 160 ex prince” ind Stexest & ley . .. — to given “inputs. tt ‘nelude £ Shite ht SF Inelude & Coto: A + ( vad main J . Aix Sex OC tout put, (x; i 4 paint C’ ple the paiincipead ameownil < Wi &canf CU pf" § 4); psu - C @rtten the state 4 Student = We Sang €* 7. f* A ws psiutt 4 (* Gitex the fime = De Sean Ch ns 4 t): CT = (A=Pa C4 tH/to)at paint ae Crile the compeund iatereit=G quich ls Oudpub —Ertlew the a A= pli 431m Cnlen to sete q Senet - 8 = a triton Ho fme = pes (1s De ro(isa)a | Brdex the Compound “inlexeat = |80- } to (9)2 yo | go x 2 = “LH, 95 # me (6: 1 Atowtsns the smaller value bétaieen Q values. oe Mere ratle = moth ein (o,b) GC ~ = mutha mm (a,b)5 : p= (Gr, ; : et 6) Math Sure + Ab oetanny the squnvieof one bes Spitene + uewereable = Noth ( Ayet] (u); 4 Me mrath Guu ta); asa nH *S. oh ‘ fs pm AGS iy A satan rasa gon NUM der. ; Qyaton >, i Chany « gente Vastieblle = Poth abs Ca); ; - : . (= ay Matis Powers ff vtlirns the poses of murrber. Susten + — A= Mesh pow (as): = Bu £ WAP to erctex ao number. find crit the Stay Hoot a number: AS ae Tnelude < fufo } ar Gnelude Z conto bY a “Include < math: hy Vor main Cd. SY; int x 459; loul 4s : pod (* Onder ot snumbort) « Sean C28", do); Roe Poth, Sait C>1) 5 pork FC Syuosie Qual of x= }; y); gelent), 4 Ud J} ab. C5 fe e the reer ys Und,“ al a); Vd i Cilex tha umbex =”), cand Ce d dL); Beall max Ca. b); pain C Grealey numbex of 4, b=, 0)} oo ay Ouitpat = Gren dhe numbex a= (0 @rifox the numben b= IS Chyedlee nrumbese = 1S number cand find the Power, cx WAP fo Fae 2 an se AS ae fnebide 2 Sito ™ Mumbex. bétwee —y include Z ne y er Anelude < ™ t Che Sr): U a,b,¢ S ant ¢ Cnter the foal number ="); Scang ted tb); : "C= Math pod ( base powers 5 a pointy C Eritex the poset Mumbet o,b= ¢)} tkh Oulpat = eo frifen the fisit number = Enter the Second mumben = 6 WH Numbext = 2 Bs £x@ WAP tp enttex prindpal, amourl state of “itlsett is and Time, find the Compound Fret. AF Tnelude ~ Ndio. ¥ ae Include x Cenio-A ae lind 4 main dy ( eaten the ce of ‘itoves b= By. Fl of 31); : ion th fine’ "J; math po Ci) , dia U8 PS Der = Platsiico)”? CT = Ps [mah poro[ (1 toV0e).t)) -F5 a C Britax the compound Snbsrett - ry aM a ate 7 = (Paap to friler 2 Numbext and ind the Smaller bet and quectex number , nelude £ Stdioa hy oe - Tincleide cmionh y include <- math CBs Seat €) ant mami, mum, $, 9.)5 oF C filer the Smaller rumbey = "js Scany Cre & num d, mum 2). $= Path. min Cmumd, num 2): pail J CU The smaller numb; 9° )s *\n Gites dhe gredlex Mumbex ="): Roan, oh np mum 4, Mum 2). pe C Th Pesle number - 9-45 geteh cy; oe Outpe tt Ente the Smalles mumber < (616 hee do = ie frttex tha. Freates Nomber = 10,6 rte the, q Number re SSO; bs, hata, da, PP, qa; Pit Erctex bare selasy ="); nt C4: io é bs), hyq = ( ox bs) fio, me= (is x bs )/im ; P= (US % bs)/ 100; gu (bsthya tdear4 phd; pint O House Rent Alleweny ~ "hwo a \n pot Decrners AUoweng eee : (@ \n Pstovident found = 8 ale int J fe eGo falar! a6 93); getch tals. 5

You might also like