Durgesh Dhore Practical No 2 24 Mar 2021 PDF

You might also like

Download as pdf
Download as pdf
You are on page 1of 6
Page No. ____ PPS Practical No.2 College Lp i- 20004026 Dote/ ae [| a Aim:- write a prognonm —te—penoanoal) lear patio tqpemeing UD Vamieus ape~ biectives 7] To undensiand # naqtons iy Diuhat ane amithmatlc Gpenaton, : S] How +o implement anitbinahc 6 pematone inc 4] To implement and execute VYomleug J anithmat! Opematans In Theomy-Jopematon i¢ a Symbol from ad th Chem act et whith _agenate 10__ppemand They pe im fem __o29 inmate _ and__legica) (om putad'om mit opemands ane Vaniahlec Om expression Sunich ome used In Lig atom Uo ith pemain to evghudte | -+the expmest. it] Exp: fon ame equence Of oPematons | pemoand ond pun Chi ation thot w)Thene are type of _opematoms o sth basis number of ppemandc of to- hitch they openate Danan oprmatoms- The _-opematom whith - ApmngieS On _oniy one opemand js — Kon 0 uno ny Opemato pm b)Bingmg opendien - The opematan yhith — Penmaes on tine spenan da i Kn omy. as _binany ee Shrikrupe Page No, College IO:- Doeeyor¢ Date = 24/03/262) __ _Date— la | Teanany opmalo®.- The openatom which | —| epemartes on thnee _opemands is Known —}_Ss__Temmany _opemator = +f a 21 opmatens _Can be dassitied itte fen - png — gers ee Opin ato < J] Awitrmat cc apematons ee 3] logical Openaton i S| Assignment _Opepat rn i Mm 2 rns O (Conditional opengter rn 3) flow chamt)- Se Read input Value a | perform gpithmat opemations — 4 Gadd = ath : Sub = os eee raul > ad bo] a UA Dee (aos ee a mod =ar7b eon —I Pri Hy Vales ofa, b add Sub {pout a sbond Shrikrupa Page Ne, 000k OrG ei Conege T° oT : ——— Step = Saxo $$ tep > peaane Maniables—e-b-fde,—__ Sith, 2 path, a, 1. Shep 2:- Read im pitt jlue Of 9 ond b Step 4’. Penfonm aaithmoatr epemation: aad = oth Ub = a~-b mul = *b 4 div= a/b clA : pas froth enatic fe ee C Pmagnamming pen qtem, whith— ane ised ae : : Om ith imatie — penations incliides operat i E AY © 6A, Subbeadi Multiplication, pivisiss— and —_modutu ns —Ali__these amnithmade — O pence in = Woh ti ‘Cane _hinqwy ope-~ Bich—meane they openaseP wo Seer ge Shrikrupe Page No. (College IP:-2o0004er6 gee Date = 24/03/2602} _Dote__/_/ _ Following 1S te 1st 6+ ait fret matt openctons as = | a | | Operates | OpePation. {ase | cay N + | Addition = | ubte achon * Mult pli cati | Division Remainden (3025) +t Auto in (ommect == | Prirtode pem ent penoten | ge Desopipton Exam pl (i ita ams : = + | otto 0f2 Adds of | and oP> e- atb | = Loe1+0P2 Sah of) from of | aside 5 I de OPIKOP2 Multiplics oF) by oP c= AK b OP\ZoP2. Divides OF) by OP a = ay OP) 4oP2) (ompurs the p- = Qe¢h ee emainden of div- idin g—o@!_bo e. Page No. 4 aie Cie ee __ por: Jo 120 Anithmati¢ Opesatons --— do» gnamt- ae ——_|} Win hide —— = ! oid main () - —— int Num 1, num; me Som, & eae ete ane H float di - point + (“ frien any Heo numbers) Sten it &ded, bnum i, boucoa), Wm = umn 4 + MIM 5 + §ub = num 1 -nums- Mult = num 4 #& num divs (floc) mum tn um a od = nt 4 ay em 5 i 7 | pointe C8 cum= yim 1m) | pointe (“ pitte = + nO il p29, Sup) | pninit (14 pRopuct = v4 22 mt) peint€ (Cf! Quotitis 7 ¢ very iv pointf C6 Mepnulue — ZAM, mod): Peto n ay, : L > ctput + == Ente any : WY sey ee PRObUCT = oo ee QuoTIENT = 2006 Moby an, Bisa ee Page No... College To*- 10904026 hae __pate:=_ 24/03/2021. Con durstion Sth atlas 2 gee cnet poe gam a1 909 Hb an oct peoatlens Wwe have Je moaned He iSeG Od oren-Ha = matic oprmaton. oe Shrikrupa

You might also like