![2. Analysis/design problems. Suggested time to spend on these questions: 45-50 minutes. [2.5+2.5+2.5-7.5pts] (a) Write correc](https://media.cheggcdn.com/media%2F237%2F237b0495-c696-40ae-88b3-939de56af741%2FphpdBYaPQ.png)
2. Analysis/design problems. Suggested time to spend on these questions: 45-50 minutes. [2.5+2.5+2.5-7.5pts] (a) Write correct code for a variant of the producer-consumer problem with the following character istics: (i) there is only one producer and one consumer sharing a buffer of size N 3, (ii) the producer produces 3 items at a time and blocks if it is unable to add all 3 of them together to the buffer, ii) the consumer consumes 2 items at a time and blocks
PayPal Gateway not configured
PayPal Gateway not configured