![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2020 17:01 aberiele1998
A regular polygon is an n-sided polygon in which all sides are of the same length and all angles have the same degree(i. e the polygon is both equilateral and equiangular). The formula for computing the area of a re polygon is
n * s2(s squar)
area =
4 * tan(pi/n)
write a function that return the area of a regular polygon using the following header.
double area(int n, double side.
write a main function that prompts the user to enter the number of sides and the side of a regular polygon, and display the area.
The program needs to allow the user to run the calculations as needed until the user chooses to end the program.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:00, Dvrsug8598
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 11:00, shawn20034
This chapter lists many ways in which becoming computer literate is beneficial. think about what your life will be like once you’re started in your career. what areas of computing will be most important for you to understand? how would an understanding of computer hardware and software you in working from home, working with groups in other countries and contributing your talents.
Answers: 1
You know the right answer?
A regular polygon is an n-sided polygon in which all sides are of the same length and all angles hav...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 07.01.2021 01:50
![Konu](/tpl/images/cats/biologiya.png)
Biology, 07.01.2021 01:50
![Konu](/tpl/images/cats/fizika.png)
Physics, 07.01.2021 01:50
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/en.png)
English, 07.01.2021 01:50
![Konu](/tpl/images/cats/mat.png)
Mathematics, 07.01.2021 01:50
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/health.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 07.01.2021 02:00