Sliding Window Protocol.txt

  • Uploaded by: sai pavan
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Sliding Window Protocol.txt as PDF for free.

More details

  • Words: 34
  • Pages: 1
#include<stdio.h> #include int main() { int w,f,i,a[30]; printf("enter window size"); scanf("%d",&w); printf("enter no of frames"); scanf("%d",&f); printf("enter %d frames",f); for(i=1;i<=f;i++) scanf("%d",&a[i]); for(i=1;i<=f;i++) { if(i%w==0) { printf("%d\n",a[i]); }

else

printf("%d ",a[i]); } return 0; }

Related Documents


More Documents from ""

1.pdf
May 2020 0
Sample Alv Reports
June 2020 7
Pavan Project Mgmt
May 2020 12
Pavan_cad_
May 2020 16
Asug__easydms_rms
May 2020 19