Project 2022-23 Aditya
Project 2022-23 Aditya
DATE.
SEAT NO.
ACKNOWLEDGMENT
I feel proud to present my project in
INFORMATICS PRACTICES on the topic “Menu-
driven program to find the area or the perimeter of
five different shapes”. This project wouldn't have
been feasible without the proper and rigorous
guidance of my English faculty Mrs. Mohini
Varma who guided me throughout this project
in every possible way. I would like to express
my gratitude to my colleagues for providing
the necessary information and knowledge
about the work during the period of my
project. I thank my parents for their
encouragement and support In my humble
venture. I am thankful to principal Dr. Sunil
Kumar Yadav, vice principal sir Mr. Sushil
Kumar Pandey, and all staff members of
Sundaram Central School and Junior College
for granting permission to carry out this
project.
Aditya Gidde
XI SCIENCE
ROLL NO.: 1
SUNDARAM CENTRAL SCHOOL
INDEX
Sr Title Page
no. No.
1 Certificate 1
2 Acknowledgment 2
3 Introduction 4
4 Coding 5
5 Output 8
6 Bibliography 14
INTRODUCTION
CASE 1:
After Entering: 1
#which is a rectangle,
#The result after entering 1, we have
The user is given a choice of whether the user wants a perimeter or an area.
After choosing: a
#which is the perimeter
#The result after entering “a”, we have
After choosing a. Perimeter, the program further asks for the length and the
breadth of the rectangle, and after providing it with the measurements it gave us
the perimeter in the output.
After choosing: b
#which is the area
#The result after entering “b”, we have
After choosing b. Area, the program further asks for the length and the breadth of
the rectangle, and after providing it with the measurements it gave us the
perimeter in the output.
After the result is met the program asks the user, “whether the user wants to
continue running the program or just end it.”
If the user enters: yes
The user is redirected to the start of the program, and the program can be run as
many times as the user wishes.
If the user enters: no
CASE 2:
After Entering: 2
#which is a Square,
#The result after entering 2, we have
The user is given a choice of whether the user wants a perimeter or an area.
After choosing: a
#which is the perimeter
#The result after entering “a”, we have
After choosing a. Perimeter, the program further asks for the length of the side of
the Square, and after providing it with the measurement it gave us the perimeter
in the output.
After choosing: b
#which is the area
#The result after entering “b”, we have
After choosing b. Area, the program further asks for the length of the side of the
square, and after providing it with the measurements it gave us the area in the
output.
After the result is met the program asks the user, “whether the user wants to
continue running the program or just end it.”(as shown in CASE 1)
CASE 3:
After Entering: 3
#which is a Circle,
#The result after entering 3, we have
The user is given a choice of whether the user wants a perimeter or an area.
After choosing: a
#which is the perimeter
#The result after entering “a”, we have
After choosing a. Perimeter, the program further asks for the radius of the circle,
and after providing it with the measurement it gave us the perimeter which is also
known as the circumference of the circle in the output.
After choosing: b
#which is the area
#The result after entering “b”, we have
After choosing b. Area, the program further asks for the radius of the circle, and
after providing it with the measurements it gave us the area in the output.
After the result is met the program asks the user, “whether the user wants to
continue running the program or just end it.”(as shown in CASE 1)
CASE 4:
After Entering: 4
#which is a Triangle,
#The result after entering 4, we have
The user is given a choice of whether the user wants a perimeter or an area.
After choosing: a
#which is the perimeter
#The result after entering “a”, we have
After choosing a. Perimeter, the program further asks for the length of the three
sides of the triangle, and after providing it with the measurement it gave us the
perimeter in the output.
After choosing: b
#which is the area
#The result after entering “b”, we have
After choosing b. Area, the program further asks for the height of the triangle and
the length of the base of the triangle, and after providing it with the
measurements it gave us the area in the output.
After the result is met the program asks the user, “whether the user wants to
continue running the program or just end it.”(as shown in CASE 1)
CASE 5:
After Entering: 5
#which is a Parallelogram,
#The result after entering 5, we have
The user is given a choice of whether the user wants a perimeter or an area.
After choosing: a
#which is the perimeter
#The result after entering “a”, we have
After choosing a. Perimeter, the program further asks for the length of the side
and base of the parallelogram, and after providing it with the measurement it
gave us the perimeter in the output.
After choosing: b
#which is the area
#The result after entering “b”, we have
After choosing b. Area, the program further asks for the height of the
parallelogram and length of a parallelogram, and after providing it with the
measurements it gave us the area in the output.
After the result is met the program asks the user, “whether the user wants to
continue running the program or just end it.”(as shown in CASE 1)
BIBLIOGRAPHY
• BOOK:
Informatics Practices – Sumita Arora
• https://youtu.be/2UxPGUu39Rw