0% found this document useful (0 votes)
3 views13 pages

Module 1

The document outlines various C++ programming tasks, including demonstrating the use of 'continue' and 'break' statements, creating a simple calculator, and showcasing call-by-value and call-by-reference concepts. It also explains function overloading through area calculations for different shapes. The software requirements specify the use of Windows and Dev C++ with no hardware requirements.
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 views13 pages

Module 1

The document outlines various C++ programming tasks, including demonstrating the use of 'continue' and 'break' statements, creating a simple calculator, and showcasing call-by-value and call-by-reference concepts. It also explains function overloading through area calculations for different shapes. The software requirements specify the use of Windows and Dev C++ with no hardware requirements.
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
| Ams Write a cre sm to demon. contioue and break a Sofkwone requirements :- Operating system used —> Windows -I1 SoPkwoe used — Dev C++ No Hoodursie vequisements Source codes 4¥include Using namespace std; fot main()$ int 95 Couk<< “Enter a number $s cioo>0; coub<<"\o Demonstrating continue ¢ \n Me Fox (fot fis ican Hs iP (t= =S)§ continues coub< Wrrdows=t1 SoPlnme used — Dev cup No haduwasie required. Source Codes Firclude cioclsearo> | Using Namespace std; fot natn yg int a,b; Chon choices Cout << “Ente Lavo pumberse ", cin >>a>>b; coud <<"\0 chase an operation ¢ \n Couk << "+ Addttion \o”; cout Dew CH Versty alll Ny hinders Aioclude cfostyéams using namespace std; fot ostea(int cfde)s wee side * sides fot ose0 (tnt lengthy, Ft breadth) $ 4 relusin Jength* breadth; Flock area (Plead, radtus)$ veluin 3,1yP radius * 4¥ fink mafo( x fot side, leagth ; bavadtth; DOr Float vodius 19 1 - 2532973 vadiuss © Scanned with OKEN Scanner GAYATRI VIDYA PARISHAD COLLEGE OF ENGINEERING FOR WOMEN. oO couk oddes y Coub length >> baeadth s cout <¢ “Entay gadtus of chucle +”, cin>> radjuss Couk <<"\n Area, of Synave = " << axea (sides Cout

You might also like