#!/bin/bash processes=("A" "B" "C" "D") burst_times=(7 3 9 4) num_processes=${#burst_times[@]} waiting_times=() total_waiting_time=0 total_burst_time=0 for ((i=0; i