bankmaxIR([IR],IR). bankmaxIR([IR|LIST],MAX):-bankmaxIR(LIST,MAX1),(IR>=MAX1, MAX=IR ; IRMIN0, MIN=MIN0),nl, profile4(MIN). profile4(A):-sameLocationIR(A,L,N), write('bank Name WITH MinimUM LENDING RATE :'),write(A),write(N). similarIR(A,L,N);