Banker-Algorithm
When you run the program, it will ask you to give resource capacity for A, B and C.

Program will create solvable matrixses and waits for you to give process queue correctly then checks your result.

At the end you can check your answers.