0% found this document useful (0 votes)
27 views10 pages

DocScanner Jul 29, 2023 8-16 PM

c programming notes

Uploaded by

Tanmay Sarkar
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)
27 views10 pages

DocScanner Jul 29, 2023 8-16 PM

c programming notes

Uploaded by

Tanmay Sarkar
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/ 10
Jia. write eo ubLites hy UG hrodep weet. amalieh. Aleo write a © progvam: -to dun ons+ralx Wa use dh jeune Te mam, h. Sm btaden Yi, matin contain, Juukion, defination s en ee annie Pollina Hens dep [Tue TC (eens -fiupp ose : abst) [find absolute Value J- a mumbep 1 h anol pow (xy) See Co on von dir in Fae) Prom! xb Sqr kt) Find square ‘ost- iE a MUMbep 7, gnd_porl: | Tun © -Pryram y/ +e Fnpul— a mem ber | out Find UE Small digil- ap imelude Define waitin example f, 9 vinahy ply aud eminws operates. | WW Logi ~ operabers. san Ww" Unary plus operators aks oo Sigh om operand. o0] wo Went = 62 Ex+ ALTE | Unary minus operates ots 9 Sigh d- om operand : Exe = —Ar-5 - wa Logica) operates: ink ASS operator I Dawirton ee IF both opwpends ape MIA-% Uo (Leg ead Avo) |-texer. crettipny TUL, else returns) ; FASE i *r ou) of Fue two operands (Lagicat ok) fis mone q.epe > Hue eb upT Tru else returns FAISE Rewer sey Ha Legieal State : dp ih optpauy, “of operand Logica [hold a TRUE “Youu Haan vet) i} qvetupns a FALSE omd Viee- versa 6.9) whal i om alegovitem | + € 1 How. Ye algorrttems rep 32 Gru ote examples ob “al geri. Ao Algorittum 15 & Shep hy SP Proee dupe bon perrominy’ a kosp operation oh Cateutation. An algorithm Com Pe aepraeshs 1m wo anwnn ehs ° Gus prevdetede @) ved Pseudotede i— A psewe code is a Simple wocey Te warhing: Oe oper atin prnaiple | §- Jo comput prem op alforilhm. Y voeutol on Flowehapti—> Tue. pict co flow chan: Ge am algewttar 1s ep Example i— (O obak OF Ue stu dul hee whepe pas manKks ig UO. ineul: emapks 4 plysies (eh), eLurnisliy oud ama tla ota (man) output : decisi nn wluallip War Studul p ov z perewk - UPh + ch + math ) 4 (00 / 400 A perc yuo then prinl= ue gtd has paved” else prink “tus studml nas mol cow pawed oy i 8H wha iy plocbwb|- 9 Dacnie de UE loco chab[- wit” exam PS — A dlowehap\— is % grarid ol mepreertehion Sh a preety. fi wea te degign, amd dows ues fies Syembals obe, eula | wr ae ram Oud Abe ur ge input ror ton Usep. oP ty fi aus arn. Wa omit eal oH dueision sgn Is cuted Ww! dearnond E44 bas users to dapie]- % Yes/No qusiens Lop a Pru (False , tok. y {et W) Labelled conn eaters abel irvine ident ying ‘ {albel inside andes ape wed dymplex “op amet ull shule ‘diggers ‘ +o ‘eee Jor girs, | 9 DONG V6) Dauibe brick ds Wa Amu dake syn, Useh vn c natin wilh Suijale, crayo plo, rosie deren Rong ms iwi), rt con ‘lohoputeys | Chop Wg Ae M27 | % ¢ f ge Lt Pg i | 9 7) Ug inlg' b bing | Tay ~ Ao 0” de ue jo. nae 2 Toon in| Aloot- f 4. be a 4, ye ab 7. { Oguble double | Torah pt yen I [Ong Bente ong are te | EP | | By Wy Vey ibe Yapiou4 onignea ok C4 oSD DIES in cual ez ovals. > UL FE Fie CG _openatar = (nse syraaent)|? cigns ‘Yulin tion Ce 90 5 5 ¢ on Sides oper onde Yohse, BO if Ho dekh | cide oper a oud le- naps > ; ile adds hi ahl- openaud 4? Wa. Doh |- operand One "ui 4: (add ond assian ) Sub shosl- vighl-_ (s substan _ operand, ord Wa oud asin il operand aud awiqn jus agyull— sho pl ~ -oparron a fematieg, Soper _pife— A So tines: a ee Ro writen pred Gy plus Orde, m a dooguage’ olan Van i” : jue © Fenty “ig. ner Sang une - : F a fax SEY wou Her TE Ue Euptak - tice «Sym ai Me ae “d aed write “exam ple... da? wy4d's,omd . ram. i 20\9 : @ © who is header Ve boite Wa URLikg 'F «74?, deberiding wit a PG Yd” >» ured for a deimal integer } (anom4 baye te Ue Tia pre Ae oa aumb«r top toaks. : UnId?—>» Ob a Us integer formof— S pasitier . i ures vole dale type is oy bong in Story a wng inregen Vo drem rouge [-247 483). +2, INA, HBS ONT]. 7 ateadtn “Piles A headep File fsa hi + avo lable. in Us} 3 ireebor In He © . ASCIT (Oi en syne j indopraah'on. inten house) ype Ex- Lstdiohy Storndars inpulb outpel- Zemtony Gmsole inpol- sutpol- | Nattemat'out headan , Y tpn ee mbites dE Toe yellocoireg shed ('stdie.n Gd) tonto : vf ' ae o 0 Sti, ds top Standard in veh pul sc pptadis Sovep al "otandan). baby tuweblens inpul- ). fil : omd @ amanipulaHon, Conio.h—» eonio: stands for emsole tnpok- . — ovtpub. 9b exntains Seep ol 3 Le Puretions. ? d wsrhut br Fuutions far perbormin ensole inpul ema outpol from. ap rem. fee [ Pasa otHination Purpose dio |PrIAH (farmaf— | ULed to prin a Ror Stdio.h Shing npr Sam li UE en sh is Sean] (fopmal— [USC +o Feke § - shing variable | wer by Kyyboon3, © unis adden WL) Sepun! ans ole rnattzch | Clrsen () Used fo cleop fox Sep Conio-h geen ae toke Single Heer Sree uae 4 b) Wake a Shorl- mol- cs ip-eue + @) tor loop OF See abil n tg — (i) Helse Cae nei a dustivn 4 rat omakk Stat Lok is Used, to Meide seated Wr papk de Ws Code orl be exceutes or noe baled on Wa” sreuhie’ @ondihon:. ' “Frample : —> : xf (mumben >=) Pink{(" Nemben is postHve \w"); else prin EF ("Nom ber «8 Ategativs \o") 5 ' | ii ; : } W@ A dor loop 1S % looping . ov Hevahon. Stotimouf- in wlth a Stem)- meu Qreup Th statemeuts is crepeata mete timy wubb < guiup Grditien "s +r : ' } 2 for (imitating bin 3 emabion | ped ft Jor */ (ti) podiahite-s ; is chau 2 bees *Y Ans body So ha bode ono} e x24 y Qo2) ” wha "6 fdeuck’ Peps, ve at Sdeutities vejep fo UF Names ot ‘ Variables Lunebans rmd -ahpoys, Ture Ohe wen dhiney’ name . omd eon $i s- O Fee’ sequioure ‘dt WaHehs. arid digih F BT, & Wuifen! 99 a Fins|- chapter. Boh” “ Upper ease omd (owen Care “Hens " Ohe pepmmika : Tur under seore chaparteh | tg also permite . t7 wri) @ oko! ' ; In we Pr rom | LU” Smal les|-, individu , WS abe Known o ¢@ +okuy -¢ hon, Sixtypes df +okeug, @ atekeus ! : v a : words ‘ Y | Key | eonttauh | operates Tlustthers —— Shings Spentod ® © Sym ball Ye) a=4 omd axq (meng ) arg ty wed ty oun! gt Hoe waite AY th ®% vantable tw hepea azs gi Compare ui volue dbo’ vaniable wilh 40, y A

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy