Computer Science, asked by pandeykanchan002, 14 hours ago

What will be the output of the following python statementif you input 2 as side 3= int (input ("enter side")) a=99 þrint ("The area of a square is :", a ) a) The area of a square is : 4 b) The area of a square is : 6 c) The AREA OF A SQUARE IS:4 O d) None​

Answers

Answered by ethicalhacker7049
0

Answer:

Answer:

Given an array of integers, task is to print the array in the order – smallest number, Largest number, 2nd smallest number, 2nd largest number, 3rd smallest number, 3rd largest number and so on…..

Examples:

Input : arr[] = [5, 8, 1, 4, 2, 9, 3, 7, 6] Output :arr[] = {1, 9, 2, 8, 3, 7, 4, 6, 5} Input : arr[] = [1, 2, 3, 4] Output :arr[] = {1, 4, 2, 3}

Explanation:

Similar questions