#include #include #include #include #include const n=100; int s[n],q[n]; int co1=0,co2=0; void mergesort(int low , int high); void merge(int low , int mid , int high, int &co1); void quicksort(int low , int high); void partition(int low , int high , int &pivotpoint, int &co2); void main() { int i,j,low=0,high=n-1; FILE *fpin,*fpout; randomize(); clrscr(); if((fpin = fopen ("in.txt" , "w")) !=NULL) for(i=0;i