write a program to input 20 letters in an array (lowercase and uppercase). Arrange the letters of the Array such that all the uppercase letters are shifted to the left of the array and lowercase letters are Shifted to the right of the array.Display the new array.
Answers
Answered by
26
Explanation:
We already know methods that add and remove items from the beginning or the end:
arr.push(...items) – adds items to the end,
arr.pop() – extracts an item from the end,
arr.shift() – extracts an item from the beginning,
arr.unshift(...items) – adds items to the beginning.
Answered by
0
Explanation:
hope this will help u want me to make water
Similar questions