// MFT Fixed Size #include #include #include #include int os,tm,n,gd=DETECT,gm; float a; char str[10]; void readprocess(); void main() { clrscr(); initgraph(&gd,&gm,"E:\\turboc\\bgi"); cout<<"\t\t\tMFT Fixed Size\n----------------------------------------------------\n\n"; cout<<"Enter the Total Memory in KB:"; cin>>tm; rectangle(450,100,550,100+tm); itoa(tm,str,10); outtextxy(500,80,str); cout<<"Enter How much Memory is allocated for OS : "; cin>>os; itoa(os,str,10); outtextxy(480,(200+os)/2,"OS"); rectangle(450,100,550,100+os); cout<<"\nEnter the no. of (fixed size)\nPartitions of memory to make:"; cin>>n; a=(tm-os)/n; cout<<"\nEach Block is of size "<>pro[i]; for(int j=0;j