Computer Science, asked by adityaadi887, 10 months ago

On the occasion of annual day in school, the principal of the school decides
that he will distribute chocolates to students. The principle orders the students
to stand in a queue and the teachers have four types of chocolates. He wants
to distribute chocolates in such a manner that neighbouring students will not
receive the same chocolate.
If ith student receives type-2 chocolate then, (i-1)th and (i+1)th will not receive
type-2 chocolates. The principle wants to know the minimum money needed to
distribute the chocolate. It is not necessary that chocolates of the same
type are equal in price. answer in java prompt​

Answers

Answered by virendrakumra2424
0

Answer:

so sad

Explanation:

plz follow me I will be following you back

Similar questions