SlideShare a Scribd company logo
#include <iostream.h>
using namespace std;
int main ()
{
float a,b,c;
cout<<"Enter the lenght of rectangle:-";
cin>>a;
cout<<"Enter the breadth of rectangle:-";
cin>>b;
cout<<"Enter the radius of circle:-";
cin>>c;
cout<<"The area of the rectengle is:-"<<a*b<<"n";
cout<<"The perimeter of the rectengle is:-"<<2*a+2*b<<"n";
cout<<"The circumference of the circle is:-"<<2*3.14*c<<"n";
cout<<"The area of the circle is:-"<<3.14*c*c<<"n";
system("pause");
}

More Related Content

What's hot

The Power of CSS
The Power of CSSThe Power of CSS
The Power of CSS
Aniket Pant
 
Data structure programs in c++
Data structure programs in c++Data structure programs in c++
Data structure programs in c++mmirfan
 
Math cad compressibility factor, z, of real gas using the redlich-kwong equ...
Math cad   compressibility factor, z, of real gas using the redlich-kwong equ...Math cad   compressibility factor, z, of real gas using the redlich-kwong equ...
Math cad compressibility factor, z, of real gas using the redlich-kwong equ...
Julio Banks
 
C# Assignmet Help
C# Assignmet HelpC# Assignmet Help
C# Assignmet Help
Programming Homework Help
 
Bash tricks
Bash tricksBash tricks
Bash tricks
Carlo Caputo
 
Program membalik kata
Program membalik kataProgram membalik kata
Program membalik katahaqiemisme
 
/Root/exam unidad1/muestraip red
/Root/exam unidad1/muestraip red/Root/exam unidad1/muestraip red
/Root/exam unidad1/muestraip redAntonioAlejoAquino
 
Building a DSL with GraalVM (VoxxedDays Luxembourg)
Building a DSL with GraalVM (VoxxedDays Luxembourg)Building a DSL with GraalVM (VoxxedDays Luxembourg)
Building a DSL with GraalVM (VoxxedDays Luxembourg)
Maarten Mulders
 
Ac cuda c_1
Ac cuda c_1Ac cuda c_1
Ac cuda c_1
Josh Wyatt
 
Yurii Shevtsov "V8 + libuv = Node.js. Under the hood"
Yurii Shevtsov "V8 + libuv = Node.js. Under the hood"Yurii Shevtsov "V8 + libuv = Node.js. Under the hood"
Yurii Shevtsov "V8 + libuv = Node.js. Under the hood"
OdessaJS Conf
 
Snake.c
Snake.cSnake.c
Snake.c
Vijay Singh
 
Timur Shemsedinov "Пишу на колбеках, а что... (Асинхронное программирование)"
Timur Shemsedinov "Пишу на колбеках, а что... (Асинхронное программирование)"Timur Shemsedinov "Пишу на колбеках, а что... (Асинхронное программирование)"
Timur Shemsedinov "Пишу на колбеках, а что... (Асинхронное программирование)"
OdessaJS Conf
 
Bab 2
Bab 2Bab 2
Bab 2
Zinoa
 
Rubinius @ RubyAndRails2010
Rubinius @ RubyAndRails2010Rubinius @ RubyAndRails2010
Rubinius @ RubyAndRails2010Dirkjan Bussink
 
Auntonomous second no4
Auntonomous second no4Auntonomous second no4
Auntonomous second no4
Jun Terauchi
 
How to build and run oci containers
How to build and run oci containersHow to build and run oci containers
How to build and run oci containers
Spyros Trigazis
 
Vtk point cloud important
Vtk point cloud importantVtk point cloud important
Vtk point cloud importantRohit Bapat
 

What's hot (20)

The Power of CSS
The Power of CSSThe Power of CSS
The Power of CSS
 
Data structure programs in c++
Data structure programs in c++Data structure programs in c++
Data structure programs in c++
 
Math cad compressibility factor, z, of real gas using the redlich-kwong equ...
Math cad   compressibility factor, z, of real gas using the redlich-kwong equ...Math cad   compressibility factor, z, of real gas using the redlich-kwong equ...
Math cad compressibility factor, z, of real gas using the redlich-kwong equ...
 
C# Assignmet Help
C# Assignmet HelpC# Assignmet Help
C# Assignmet Help
 
Bash tricks
Bash tricksBash tricks
Bash tricks
 
Auto
AutoAuto
Auto
 
Program membalik kata
Program membalik kataProgram membalik kata
Program membalik kata
 
/Root/exam unidad1/muestraip red
/Root/exam unidad1/muestraip red/Root/exam unidad1/muestraip red
/Root/exam unidad1/muestraip red
 
Building a DSL with GraalVM (VoxxedDays Luxembourg)
Building a DSL with GraalVM (VoxxedDays Luxembourg)Building a DSL with GraalVM (VoxxedDays Luxembourg)
Building a DSL with GraalVM (VoxxedDays Luxembourg)
 
Ac cuda c_1
Ac cuda c_1Ac cuda c_1
Ac cuda c_1
 
Yurii Shevtsov "V8 + libuv = Node.js. Under the hood"
Yurii Shevtsov "V8 + libuv = Node.js. Under the hood"Yurii Shevtsov "V8 + libuv = Node.js. Under the hood"
Yurii Shevtsov "V8 + libuv = Node.js. Under the hood"
 
Snake.c
Snake.cSnake.c
Snake.c
 
Timur Shemsedinov "Пишу на колбеках, а что... (Асинхронное программирование)"
Timur Shemsedinov "Пишу на колбеках, а что... (Асинхронное программирование)"Timur Shemsedinov "Пишу на колбеках, а что... (Асинхронное программирование)"
Timur Shemsedinov "Пишу на колбеках, а что... (Асинхронное программирование)"
 
Bab 2
Bab 2Bab 2
Bab 2
 
Rubinius @ RubyAndRails2010
Rubinius @ RubyAndRails2010Rubinius @ RubyAndRails2010
Rubinius @ RubyAndRails2010
 
Algo
AlgoAlgo
Algo
 
Tic tac toe
Tic tac toeTic tac toe
Tic tac toe
 
Auntonomous second no4
Auntonomous second no4Auntonomous second no4
Auntonomous second no4
 
How to build and run oci containers
How to build and run oci containersHow to build and run oci containers
How to build and run oci containers
 
Vtk point cloud important
Vtk point cloud importantVtk point cloud important
Vtk point cloud important
 

Viewers also liked

Sol5
Sol5Sol5
Géneros periodísticos
Géneros periodísticosGéneros periodísticos
Géneros periodísticos
montserrat perez
 
Datos de Poblaciòn y muestra de 100 personas y de 30 personas
Datos de Poblaciòn y muestra de 100 personas y de 30 personasDatos de Poblaciòn y muestra de 100 personas y de 30 personas
Datos de Poblaciòn y muestra de 100 personas y de 30 personas
Jeanne Segura
 
Bahagian xvii (rayuan)
Bahagian xvii (rayuan)Bahagian xvii (rayuan)
Bahagian xvii (rayuan)
Snj SNj
 
Blockchain for Notaries
Blockchain for NotariesBlockchain for Notaries
Blockchain for Notaries
Patrice Kerremans
 
ESQUEMAS DEL S I S T E M A O S E O
ESQUEMAS DEL S I S T E M A  O S E OESQUEMAS DEL S I S T E M A  O S E O
ESQUEMAS DEL S I S T E M A O S E O
INSTITUTO TECNOLÓGICO DE SONORA
 

Viewers also liked (7)

Sol5
Sol5Sol5
Sol5
 
Géneros periodísticos
Géneros periodísticosGéneros periodísticos
Géneros periodísticos
 
Datos de Poblaciòn y muestra de 100 personas y de 30 personas
Datos de Poblaciòn y muestra de 100 personas y de 30 personasDatos de Poblaciòn y muestra de 100 personas y de 30 personas
Datos de Poblaciòn y muestra de 100 personas y de 30 personas
 
SAMAN DALAM KAMAR VARIATION ORDER
SAMAN DALAM KAMAR VARIATION ORDERSAMAN DALAM KAMAR VARIATION ORDER
SAMAN DALAM KAMAR VARIATION ORDER
 
Bahagian xvii (rayuan)
Bahagian xvii (rayuan)Bahagian xvii (rayuan)
Bahagian xvii (rayuan)
 
Blockchain for Notaries
Blockchain for NotariesBlockchain for Notaries
Blockchain for Notaries
 
ESQUEMAS DEL S I S T E M A O S E O
ESQUEMAS DEL S I S T E M A  O S E OESQUEMAS DEL S I S T E M A  O S E O
ESQUEMAS DEL S I S T E M A O S E O
 

More from University Of Lahore

Sol 1
Sol 1Sol 1
Sol4
Sol4Sol4
Sol2
Sol2Sol2
Sol9
Sol9Sol9
Sol8
Sol8Sol8
Sol3
Sol3Sol3
Sol10
Sol10Sol10
Front page
Front pageFront page
Conditional structure problems
Conditional structure problemsConditional structure problems
Conditional structure problems
University Of Lahore
 

More from University Of Lahore (9)

Sol 1
Sol 1Sol 1
Sol 1
 
Sol4
Sol4Sol4
Sol4
 
Sol2
Sol2Sol2
Sol2
 
Sol9
Sol9Sol9
Sol9
 
Sol8
Sol8Sol8
Sol8
 
Sol3
Sol3Sol3
Sol3
 
Sol10
Sol10Sol10
Sol10
 
Front page
Front pageFront page
Front page
 
Conditional structure problems
Conditional structure problemsConditional structure problems
Conditional structure problems
 

Recently uploaded

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 

Recently uploaded (20)

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 

Sol6

  • 1. #include <iostream.h> using namespace std; int main () { float a,b,c; cout<<"Enter the lenght of rectangle:-"; cin>>a; cout<<"Enter the breadth of rectangle:-"; cin>>b; cout<<"Enter the radius of circle:-"; cin>>c; cout<<"The area of the rectengle is:-"<<a*b<<"n"; cout<<"The perimeter of the rectengle is:-"<<2*a+2*b<<"n"; cout<<"The circumference of the circle is:-"<<2*3.14*c<<"n"; cout<<"The area of the circle is:-"<<3.14*c*c<<"n"; system("pause"); }