Write a program in (C or C++ or Java or python) to capture the center.docx

D

Write a program in (C or C++ or Java or python) to capture the center of Hexagon? Note:- Parallel processing, Subject. For example, how parallel program work please refer this website for help? http://gribblelab.org/CBootcamp/A2_Parallel_Programming_in_C.html Solution Answer # Program to find the area of hexagon using Python language from math import sqrt def hexagon(): print(\"Enter the length of its side for find the area of hexagon\") side = float(input(\" Ebter the side length \" )) hexgon_area = (3 / 2 * sqrt(3) * side * side) print( \" area hexagon Width \" ) print( \" side =\",side) print( \"area\", hexgon_area) hexagon() .

More Related Content

2022 CAPE Merit List 2023
Caribbean Examinations Council3K views
Sociology KS5
WestHatch50 views
GSoC 2024
DeveloperStudentClub1049 views
Gopal Chakraborty Memorial Quiz 2.0 Prelims.pptx
Debapriya Chakraborty221 views
Nico Baumbach IMR Media Component
InMediaRes1186 views
Psychology KS4
WestHatch52 views
ANATOMY AND PHYSIOLOGY UNIT 1 { PART-1}
DR .PALLAVI PATHANIA156 views
Drama KS5 Breakdown
WestHatch50 views
Universe revised.pdf
DrHafizKosar84 views
Narration lesson plan.docx
Tariq KHAN90 views
Education and Diversity.pptx
DrHafizKosar56 views
Material del tarjetero LEES Travesías.docx
Norberto Millán Muñoz57 views
NS3 Unit 2 Life processes of animals.pptx
manuelaromero201389 views
Classification of crude drugs.pptx
GayatriPatra1449 views
Class 10 English lesson plans
Tariq KHAN172 views

Write a program in (C or C++ or Java or python) to capture the center.docx

• 1. Write a program in (C or C++ or Java or python) to capture the center of Hexagon? Note:- Parallel processing, Subject. For example, how parallel program work please refer this website for help? http://gribblelab.org/CBootcamp/A2_Parallel_Programming_in_C.html Solution Answer # Program to find the area of hexagon using Python language from math import sqrt def hexagon(): print("Enter the length of its side for find the area of hexagon") side = float(input(" Ebter the side length " )) hexgon_area = (3 / 2 * sqrt(3) * side * side) print( " area hexagon Width " ) print( " side =",side) print( "area", hexgon_area) hexagon()
Current LanguageEnglish
Español
Portugues
Français
Deutsche