🔒 Closed Code to flow chart converter

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;
}
pa convert po kung cnung may converter
 
Status
Not open for further replies.

About this Thread

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

Trending Topics

Online now

Members online
1,133
Guests online
1,193
Total visitors
2,326

Forum statistics

Threads
2,275,036
Posts
28,960,147
Members
1,233,536
Latest member
R4MON
Back
Top