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

Flowchart & Algorithm

The document outlines various algorithms and flowcharts for performing mathematical operations and calculations, such as finding sums, averages, areas, and solving equations. It includes step-by-step instructions for each algorithm, along with flowchart representations to visualize the processes. Additionally, it covers conditional statements and input handling for various scenarios in programming.

Uploaded by

taufikelahee
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)
3 views

Flowchart & Algorithm

The document outlines various algorithms and flowcharts for performing mathematical operations and calculations, such as finding sums, averages, areas, and solving equations. It includes step-by-step instructions for each algorithm, along with flowchart representations to visualize the processes. Additionally, it covers conditional statements and input handling for various scenarios in programming.

Uploaded by

taufikelahee
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/ 30
Algosithm & OTA & CETTE Carrere Jarra WUC BTA HTT IHET CHPTETS CaF GpIbTG ATG eH RAYE 18 as rer CAIOTER PAfel e ° ovel 1. Input FIT A,B fale two number, os input 2. S=A+B a hon 3. Sams find summa a i) Tale 0 SB om tapub W) 5=AtG Cour > wy brink § w) Gad He progea Wo ATA GRIEG TCT SPE CATT PAA OCA STAT PA RAI TAA SerATUPR RTCA FS FH MEM FAT ALA TT TVA FAT REG CORTE PG TET FL HURT TENT TAT TAP BACH GHOST IGPTOTE ARITA AM Flouthavt fs a fylem « BOGTGPIIG made of special shapes to sdve erie step. tegrosn® comers CprETS 1. BHR SRTOTE : HUH AA STAT PC AAT MSP ETA TTT APT SALT SIS PHOT CoPIBTE ITA | . System Flowchant is a cicgnam wed fp sdve emblems in an ovgatizalion ov fp defie workflow . oval \ ] manuat [J vocument x CONNECTION Ss SORTING _macneiconum (] Penc caro 2, COMSMA CHTBIS : CU CHTBTCE CHICA CAAT HHH AIM GHATS GCA Sa ZT ORE CHATUGAEE TT! The Haidhart uibene steps oF any prograrr is exgloird chwondogically iy called. program Stove! note 1. WEB Reura me Arete Find the aveoage of two Algorithm: Fnpuls SSIES ATT aete-33 AA symbol 14 STR Terminal R315 OF FR OTT soot & end A 7 | npucutout BA rom sae To babel input Z TBE sand print oulput process Refer mfsfos Orem Nathenalicad operatiit A decision OSH Sa € » condifion define wy flowline Gprortba atic Ao! baat tia connection EHTS DEAT CA SAT YY Mo caunect ee parts = of He Hiwclalet subprogram oy? weet Bagh ats AR otra ny Gf 721 al steps 1 Car ee SR i) Stack the eae 2. ARBs ats 4) Tale A,B a Tapa 3. S=AtB ny W) 5=At® 5. Avg OT BT w) fg #442 6. CHITTY BA V) Point Avg, vi) End the program FLOWCHART: U Algorithm Ee pep cdek bined he om i SPFCMTAAT TI hep by slep sau fetlowed any progparen! he gee i, called Algomith.. 2 2. FBTATCGA TTT FNS CHPETHG CHUA OUTTA ICAARISG CHUOAT YSIOTA GT CPTETS 8 GOTTA PMT | Take ignecda. temperature ob ngut and expnen it im fvenhat . C/S=(F-32)/9 . _ F-32 F=(9C/5)}+32 Katia = S-0- ino Telan Hie (10070 AI FLOWCHART: Algorithm : Steps : 1. CHAT OF SH . BAY CAR . F=(9C/5)+32 FIAT ST SS 5. CTS OTS BHT wR wen 3. Gio Aya Cet OIfaETA Bat TTA Goo Pare 150 as frre Paras 40. aE CE TCT, CAA IF CET SS 214 Br FH Sara CHHTOTO WHT have is A new lemperalune Seale where, Xslen = 150, zicr= 1O Deaw a Hovdsost te find tre celeiva valve of any input in this Ora oats, A RT aera Cae a Is AES la aM Seale, 100-0 150-40 Algorithm: Steps 1. CHAT SH ST input x FAB C=10(x-40)/11 comin ait CATT OTS BAR ven Flowchart: u a 10(x-40) i u & 4.CB AOA 9 AIA CHT BAYS AS 8 Ora CHAI eta wala CHET CHT abe avy side of a sqnave o ingut ond chen Howcast find the anea. Print area 5. C@rn fa guard for aga Cre BY FCT aa CHET Peta Sara CHIBI TPE abe ee siden of a trieglt om inet and find = A=vs(s-a)(s-b)(s-c) Ll s=(a+b + c)/2 l A=/s(s — a)(s — b)(s —c) l 6. 2 STAT ETS ATH ITP CRU CORAM CURT CTETE OT Make the value of a a input and Find tHe anea. = Yl OA CRAP = na? AOB TSR CPAP =( 60°/360°)* 1a? Flowchart: 360*3.1416+a"V3_> ODER TENGE NS AREA= 60 4 Print AREA 7. of aaOrTa We Bt BAG ce oreMs CHET Fete sastaras Tale diagmal of a rhembus wr input & find ren Algorithm: Steps: 1, CHAM BH SH 2. BAY a,b AR 3. AREA =(4)*ab 4, AREA Stet BIR 5. CONST OTs sf Flowchart: 8, WTTSUETa CERT AAT Sars CHTOTE CiTST = b= abla= OH b= 1B) Algorithm: Steps: . CAT SSSR BAW ab AR AREA =ab AREA SRT BIR CTS TS wrene Flowchart: gu i U 9. defo erage for aga (Hel BAS ATH IA AIO CPAP VINTT sortitredr = Area,A=2[ab+bcrac) Volume,V=abe Diagonal, D =v(a*2+b"2+c"2) Algorithm: Steps: 1. CHATT OFS Input a,b,c CAB Area,A=2(ab+be+ac) Volume,V=abc BYR Diagonal, D =v(a"2+b*2+c42 ) 6. AND amet ait 7. COTOTTT Te ST AT Flowchart: Area=2(a*b+b*c+a*c) V=a*b*c D=Va? + b? +c? Print Area, V,D Pras yrs GAETS Conditioned Pawehant LAT FBC SP ABCA BAT AG, GA Goa TATA CHS BT AA ACA CA GSA RA CMT OTST ATS AACR TTT LL GSTAT HOUT ATES wereqar aro fearerfeta Fad oxt ib an ‘mput is Algorithm: paifive, negakve oe 2er0. 1. COATS SA" Sant the program 2. AGAUA INTER Tale A ov taput 3. A=0fUPITTSR Y find out iF A+ 07 A= OORET AT STS a) TF A= 0, erat zed b) Tf A #0, gor Slee 4 © Gad ont if A262 a 4, ao Oar Or itT oe ajr$ AYO, print paiti (®) A>0 RE, "WATTS" af SAI IF AKO, peml rige (2) Avo AURA, TTS ST SA 5. CTS OTS BR G© End program. Fowchan (&) SA = OAT RY, OTS N42 | s2nf8 seemra facmoreat Reefrarat Find the subthnacled vale oF two fnpuds Algorithm: 1. CATT SHB 1. Glact the program 2. ab AA SRT BT 2. Trput A, 8 3. Ace fear Prieta et 4. Cheek “$ Arb, a. A>B 2UF7,S=A-8 38 5b, xb and goo shee S a) It 2b , ten, b) Tf 7b wok Aone, Hen goto hep S PweN ii, web ERT x-b Sf if 20 5. ec fear or ete ae 5 Chad if ocho onaaererae 4) TF YC, then, 472 and ge vee 6 ioe BUA ec — 4) TL APC wok Lone, tren gle step 6 6. xT eh . 7 cemomoree = 6 | Print 2% Z. Fad fhe pragaam Flowchart: AeoD 22028 xb 697 x>C oT ae4 Print 10, Corral Baye Rice Petr ecar of8 wifes fran Find oud if any yeow is © -TaAE soo era RaTeD eT ALa (disible by 400) leap yeaw. © 100 Wal SST AAT 8 4 Bal STE AT . Not didsible by (0 bat 365 doy Sh Ura hee Flowchart dhisible by 4 xy Wxpestdays Qu 2 Be y - US main xe bt fia 15. axtbxtc PARTS AM PATTAYA GCM Poh PATA CEPIOTS WITT HA PAA ANT HATS A HM FANG BIE FARTS FEAT Axo Bl, HM SAs FS PRIS AAA! OAS ONS AA IA PA, TES PIG TOMA FACS AAI ax'tonte = 0 Nao, x=-% % W) beac =O, = - ste, Find the nak of a quednatic eqn axttbate. «) went <0 5 x9 nosed iv) b> 4ae2?0, %= ees xe “o-ring Print X1,X2 ; tosk an 7 Repexbra any IPLAG PAPUA FAS UA YA TITRA FACS BT MAT (HG COTS TT APPR COMA TH EPG SATS GI fe AST PNT fra? AIS AT UNA CORA SAL IN CTA AT PITTS HOTA BPS Ba ALA © 1B fea BETO a ‘S| initialization: A=1 SILA ICT BATS VAI CPIM CU IE AC, CGT RAT aT A 31 Increament/Decreament: A=A+1. FLA WCA PALS VW SS AGT, SS PATI ST WAM FA ‘| Range: A>N? IM OVNI PTA BCA | 16.1 CEN HSS RUMTGITA SPA GAT Gpere CofA scat Draw a Souchawt to pomt ib N. 17.1 CEN HES MITT CITE PT PCA Gas ITAA ST UA SLT wrar Find He summotin of 1 to N weno and alse idently auerone . as4 620 seat Aste? ga Otltz Az At} ge OTHE Ax otl=4 Avg: Print Save Fad He sunnalion of tis series 18, 142743" net N? PACTS CURA PUTT BAT 2 5 (es 19, 256 ALG HAT CONG HAT eh SCAT Lecwoe-o4 20, SETA AT ef HATCH GHB BUA A BAT ——— Expren any pave inleger in oppaile elmandeg y Explanation’, 256 ~> 52 10 256 (a5 ee a ed 5y W)2 fo 2 a Mob nemcuirela » z 0 Print an aefB ora eRe etera core Rete aTar Find the summakion of all the digits Mm a numben, 256 = AteHe b=. PRINTS 22. ceaB OTA Oe errata came Raat Find tha. summation . of the sqpeme of dig im co number R+AMOD 10 S=S+(R*R) 23, serous err nefefaaa Pind the average oF summedion oF all dicts . find the 24, GAB He ATA TSH IAT OS ATH AS GST CATT DTA cuymma iM of all digi ot any number . except for Inudiveds part 25, CU CBT ALATA IBAA MIT SMT SCAT Expoen the fathorial value of any Tnput . 61 26 xe xuxar| Se Ixt C= S-IkIkK2Q e=3 Si lereeya CRY © ae (AN sxe x6 1 CFF 27. 14242*343*44.... o D =2,5=0 ek) D 0 AzA+1,B=B+1 28, 200-500 9B7 Brat roan 9 fare Hea CATPTERA FAehe aeCAT Find tho summation of all number Saorn 200-500 ubich ane add and dvicible by F. 29, ICSTAT 10 F6 Hee BAYS AWS Mas WICH CAITR ALT SCAT Tale any 10 inputs and Jind Hew summation C9 2mft Sice ineuk Aaa § > suammatior Arrow ingat so. MPAA MTT aA Cad to bigger value out Caen > of 10 inputs. 31, SRG SUSAN IOI AAT CT YA AST S000 Crala SHAT AoSTOT ATT YA CASAA 40%. BSW OHH tax SIG VT YA CAOTAA 10%. Casta fee CHOW R500 Brat. Sierala CMG OT SS? find the tobe sallany . x> <5000 25000 aie eror x*(60/100) x*(40/100) tax x*(10/100) x*(10/100) Medical fee 500 500 24290007 ‘T= H4500- ont PrintT Find out if any mut is prime number on wok 32. Oder seem Fast fare 24 fmm | co 33. 200.500 AS CNtra meta crea Taat Find te cummabion of all pone numbers 20 p $80 PRINTS, ARCH CIWICA Sal 5 35. PORTS Fea BAG ica TG Aas ATS mea Ost Rn <> S o fector | 7214 [ voeswe ] Gowan | #7 <8 O Sail Gronbak | 9 = eg 3,608 oe =3x3 26 a ee Ig 24 18 46 aI 8 co BO. ‘ ee 120 MOO a0 & x MOD b=0 & MOD x=0 & bMOD x-0& ‘MOD x=0 Tn porbant How charts’ ) IBn4- LOM i) OG GCF n) DMD Ue CPoine Number) W) PATS Cheap year) Y) Factorial vi) MING Cquadva tic) Vi) OAR secre andy oF 3156) oA ee get Aen, . mPa srr 30 AA ara x0 1 cee eB ts cf eee Fear era Take any yee ins an igre othe se eye 0 (GES a1 gf er tags as aes Ay omer af ere ATA COTTECE 11 RCA (Take any integer as input ane fi ut the aveage af athe figs exept forte gin minced postion) (CRBS HDS ob ga se a we meen ere Foc Te Re NEST (ote ary number 35 nput and ind ut te number belongs tothe Reorac\ ste CHE O-9

You might also like