createdoublePair() method which creates an array,assigns the double of supplied values into the array. Example 1. Enter the size of the array:2 Enter the elements: 1 2 createdoublePair 0 ( 1 , 4 ) Enter the size of the array 3 Enter the elements: 2 3 4. createdoublePair ( 0 ) ( 4 , 9 , 16 ] .
createdoublePair() method which creates an array,assigns the double of supplied values into the array. Example 1. Enter the size of the array:2 Enter the elements: 1 2 createdoublePair 0 ( 1 , 4 ) Enter the size of the array 3 Enter the elements: 2 3 4. createdoublePair ( 0 ) ( 4 , 9 , 16 ] .