Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Program Discussion :: Array

Home > Programs > Array

9 / 23

Write a program to sort an array into two halves, one half ascending and second half descending.

Answer:

#include 

int main(void)
{
   int a[10], i=0, j=0, n, t;

   printf ("\n Enter the no. of elements: ");
   scanf ("%d",

Asked In :: TCS Global Edge

Post Your Answer Here:

Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here: