Please build a C program that:
prompt user to enter the value for 3 processes P1, P2 P3 and 3instruction types: L (lock a resource), U (unlock a resource), andC (compute). Each instruction is followed by an integer: in thecase of lock and unlock, the integer indicates which resource isbeing requested, and in the case of compute, the integer indicatesthe number of time units required to compute. If a process requestsa resource that is not currently locked, the resource will be givenexclusively to the process until the owning process unlocks it. Ifa process requests a resource that is locked, the process
PayPal Gateway not configured
PayPal Gateway not configured