World Languages, asked by vishnuagrawal6819, 1 year ago

in c languge Bholu the Pandit on this New Year wanted to divide his Cuboidal Packaging block into cubes. But he loves uniformity so he asks you to divide it such a way that all the cubes are of same size and volume of individual cube is as large as possible. Note: He will utilize whole volume i.e volume of cuboid before dividing is same as sum of volume of all the cubes. Input

Answers

Answered by arnav2311
0
insufficient data given plz give volume or dimension or mass of cuboidal packing
Answered by banalasriram546
0

Answer:

find the gcd of l,b,h and output is gcd,volume/(gcd^3)

Explanation:

for example : 2 4 6

gcd=2

volume=48

so output is 2,48/8  : 2,6

example 2:

1 2 3

gcd=1

output is 1,6

Similar questions