From f701c278505d228e59c876911635d83b5e94d61a Mon Sep 17 00:00:00 2001 From: Athul <98105204+Athul-kharvi@users.noreply.github.com> Date: Thu, 23 May 2024 05:55:38 +0530 Subject: [PATCH] Update bankers_algorithm.txt i updated in the code where you can check the system is safe state or not --- bankers_algorithm.txt | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/bankers_algorithm.txt b/bankers_algorithm.txt index b9817a3..5c72028 100644 --- a/bankers_algorithm.txt +++ b/bankers_algorithm.txt @@ -70,20 +70,9 @@ void main() } } } - - int flag = 1; - for(int i=0;i", ans[i]);