#include void main() { int i,j,n1,n2; printf("enter the no. of blocks: "); scanf("%d",&n1); printf("enter the no. of jobs: "); scanf("%d",&n2); int a[n1],b[n2],vis[n2],c[n1]; printf("enter the size of the blocks: "); for(i=0;i=b[i]) { vis[i]=a[j]; a[j]=a[j]-b[i]; break; } } } printf("STATUS \n"); for(i=0;i