๐Ÿ”’ Closed Sa mga programmer po jan..

Status
Not open for further replies.

godlike_pong

Honorary Poster
#include<stdio.h>
#include<conio.h>
void merge(int [],int ,int ,int );
void part(int [],int ,int );
int main()
{
int arr[30];
int i,size;
printf("\n\tโ€“โ€“โ€“โ€“โ€“โ€“โ€“ Merge sorting method โ€“โ€“โ€“โ€“โ€“โ€“โ€“\n\n");
printf("Enter total no. of elements : ");
scanf("%d",&size);
for(i=0; i<size; i++)
{
printf("Enter %d element : ",i+1);
scanf("%d",&arr);
}
part(arr,0,sizeโ€“1);
printf("\n\tโ€“โ€“โ€“โ€“โ€“โ€“โ€“ Merge sorted elements โ€“โ€“โ€“โ€“โ€“โ€“โ€“\n\n");
for(i=0; i<size; i++)
printf("%d ",arr);
getch();
return 0;
}
program po yan sa merge sort.. kasu d ko ma gets.. cnu po marung gumawa ng flow chart jan....

pa help naman po...
 
Status
Not open for further replies.

About this Thread

  • 0
    Replies
  • 483
    Views
  • 1
    Participants
Last reply from:
godlike_pong

Online now

Members online
364
Guests online
1,202
Total visitors
1,566

Forum statistics

Threads
2,275,514
Posts
28,963,793
Members
1,232,827
Latest member
Nash3790
Back
Top