Question: Please help C++ Optimal Page Replacement Algorithm Here is the code so far: // DECLARATION int n, m, i, j, k, hit = 0; double
Please help C++ Optimal Page Replacement Algorithm
Here is the code so far:
// DECLARATION int n, m, i, j, k, hit = 0; double hitratio; // PROMPT THE USER cout > n; cout > m; cout
// USE VECTOR vector vector cout Input should be: No. of frames: 3 No. of processes: 20 Processes: 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1 And the output should be a matrix for the processes and frames, and: Hits: 11 Faults: 9 However, I keep getting this instead: Please fix the code. Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
