You are on page 1of 7
/ BB CHANDIGARH 2 Fail UNIVERSITY STUDENT'S NAME SAUGAT QUTTA ISTUDENT’S UID— 2iBCS24/5 ICLASS AND GROUP- 9H 218¢S2.\5-A SEMESTER- 2 _ [SEMESTER = EXPNO: 3,7 AIM OF THE EXPERIMENT: learn )ow bo use Py//é haoilly ag taer PRACT 1: Wa te sony He Contents eh one Pie to onothor and display it on PRACT 2: WAP fo vend ter clans chy acd studatinfo such ash wll yo. fom Ke keyboand 4 to shove Bem an a peer Legl ‘ using weak £ wertedd Furchns Again he Suing fe ¥e di in fre, ad ng Splaginy the contests Of He tile on-thy seaeef Ne Ry BRACES BBE SUBJECT NAME-Object Oriented Programming using C++ SUBJECT CODE-21CSH103 Scanned with CamScanner ] CHANDIGARH UNIVERSITY PRACT 1: ALGORITHM: \) StAer ee heoder file and ruUneS PO op Yan main method! deer : ane © decdone re a “A, SOU IEW, ty, Input 1 ¥ FE ARE name Hh Sang, BM ieee re ti DL, poe IE Ie C245 le wd puss throug Repent. J PND G ba ethool Can hte of target frig ster e Sire; PD, Dd Sgerr ps 09 BE PO Ey aug Popes a. y V paring “File x oe Wrelesectey Oped! Sweresy Rug, - W) felasecte, ‘ % STop 2 PROG BAM Cop ee Binclede Crosh, g char ch, ¢, = Flee Hes leew, tan GeAF/'Ip C203; + Cet £6" Enter tne pracy OF Se . Gn >) sere tyr ee Files “, fS< fo pen Sounéerile, mir) ' if CPS = Mute) - (Odeo \o FP Occined 1 TeAWen 0} > es NAME-Object Oriented Programming using Cr+ SUBIECT Cove 2xcsmga Scanned with CamScanner GRAM CODE: (ontd- ) CNN Enter the ware >> targa ile] rE hepen( target hile, Au"), if (ftz 2WOLL > t codec \ g Ferien diuond! 4) n o: x a on Cyrbcy f)' whileCcht=: cof) fpubo ch fio; ch gers « Fy Zoutect# \y FICS Peles el fs): glee Cb. carter Chi olf; Wty 0," lj 3 7 OUTPUT: ‘SUBJECT NAME-Object Oriented Programming using C++ Pd Coeeest fatty yp! ve a of barges hile % ‘SUBJECT CODE-21¢SH103 Scanned with CamScanner CHANDIGARH UNIVERSITY PRA 2S AlGORETHMS Ystaey : 2) Declare Heder File amd ramsyort mand oly 3) dn sholont dp coe CON Yo Vate Momber mane af: 1 pt ran ft agt—rencli® Crt Perth oe 94> +B) pep PROSRAMS! EXPLANATION “7% gorpadn aps ; hy Vit, ; He ine *houdatecy bo punt Che aeetry ‘ . ‘ At weHhod dinky, | : mM ote, > “hore the Fe es, eee Cig 1 Bore ae ree BiG pring oT 1S tre g a 4 THe Orato Do A oo" gctdatery ee cat FAS Ee : wi ash 7° ee ajc e ofe : S berelarys oe ny tose the Ce : © Oty reat 1) Reepte Te on ipablate & xe acl dap Ve Vepen suey ; YA x = 2A ATH open 19) Read of i 1 1? ° MM Pen LD Stee! hay 12 SP leg Data on Moet % DP Close the £/ Ip “ 2) Stop, 1 : PROGRAM CODE: SUBJECT NAME-Object Oriented Programming using Ce+ SUBJECT CODE-21¢5) -21csH103 Scanned with CamScanner W's Lv regia SAP Nee / cher Petre [gy] ml at) ve Pou) publees ‘*" Rh veridd COM EE HEMT Dany, CIM. Give Chap, “yy COW LEW NE ayes cih>> age | Sho Date Cvoicty Couk C6 Nena MZ, 3 691K Condy “y Cranes C04 Agoy y | ind main cy Eedent g NS by a. ; eg pen fit ECE Ete it Cod Cow Eve im Farid, “ Teh HG hey burn 0} tal OV i089 Condy; Se ypelntats, Cond ley Fe COSA Gy output; My. SUBJECT NAME-Object Oriented Programming using C++ Flew tag, np HD gs Chee tore) : COHLEEM Upyy, " "Yeap sli, Vind) bile) Lap Fann 4 AiG Sined) I dudayy wd PWM OHA ef ayny COLO Bing fn apes " Prey (Yp..o} bhi yf q hy } e, ied weal C1 hay ¥Y Ms A ; «Shou Dy Why Vase hy e" pd. MOL! “6CNan vy SUBJECT COUE-2ICoHIOE Scanned with CamScanner aCe Nese err TaCE | crise oor} PCS ees ton eg Cia acy cial s eC iteg File copied successfully. Cornering | PSA C estes Meee GIay Peer) Tiodpiessy piacere eceeenin Pree ocaic) Enter age:19 File saved and closed succesfully. Pestoeat erst) \Sem 2\CH> ff Scanned with CamScanner Punderstand the concepts of object-oriented programming including progranming process and compilation process, sApply different techniques to decompose a problem and programmed a solution with ae sub modules. g the programming *Analyze and explain the behavior of simple programs Involv addressed in the course. simplement and evaluate the programs using the syntax and semantics of object oriented programming. Design the solution of real-world problems In order to determine hat the prograny performs as expected, EVALUATION COLUMN (To be filled by concerned faculty only) | Parameters Maxi Marky | Maths Obtained Worksheet Completion including wilting) 10 learning. ive/ Outcome: Post-Lab Quiz Result Parameters Student engagement ln Sinutatlon/ | Performance/ Pre-Lab Questions Total Maths 20 SUBJECT NAME-Object Oriented Progranmniny, ving Co SUM CODE STEN Scanned with CamScanner

You might also like