Paging Techniques : Finding Frame Number

Source Code:

#include <iostream>
using namespace std;
int main() {
  int arr[10], w=0;
  while(cin>>arr[w]) {
   // cout<<arr[w]<<endl;
    w++;
}
  cout<<0<<" "<<arr[w-1];

  return 0;
}

Comments