Report

•0 likes•2 views

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() .

•0 likes•2 views

Report

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() .

- 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()