From 3e21e023a1235862bac7fef1aefab36d30faff28 Mon Sep 17 00:00:00 2001 From: Kshitij Date: Tue, 5 Nov 2024 00:28:33 +0530 Subject: [PATCH] Fixed worst fit and added missing labels for best and worst fit. --- Codes/Group B/Code-B6.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Codes/Group B/Code-B6.cpp b/Codes/Group B/Code-B6.cpp index 7e1e2db..ce18c84 100644 --- a/Codes/Group B/Code-B6.cpp +++ b/Codes/Group B/Code-B6.cpp @@ -45,6 +45,7 @@ void NextFit() { } void BestFit() { + cout<= 0 && (blocks[j] - processes[i] > store))) {