#include #include void main() { int n,r,i,j,k=0,count=0,found=0,exec=0; printf("Enter the number of processes : "); scanf("%d",&n); int vis[n]; int a[n]; printf("Enter the number of resources : "); scanf("%d",&r); int alloc[n][r],max[n][r],avail[r],need[n][r]; printf("Enter the available resources : "); for(i=0;i"); }