Math, asked by jasminesunny5, 6 months ago

split the number below according price value 1.42
1.064​

Answers

Answered by kumarnitishkulna
1

Answer:

Input: X = 5, N = 3

Output: 1 2 2

Divide 5 into 3 parts such that the difference between the largest and smallest integer among

them is as minimal as possible. So we divide 5 as 1 + 2 + 2.

Input: X = 25, N = 5

Output: 5 5 5 5 5

Similar questions