Computer Science, asked by keerthanask1903, 6 months ago

Write a c++ program to find the product of 3 numbers​

Answers

Answered by daniya2810
0

Answer:

sort the array nums.

l := size of nums.

a := nums[l - 1], b := nums[l - 2], c := nums[l - 3], d := nums[0], e := nums[1]

return maximum of a * b * c and d * e * a

Similar questions