Write a program that declares an array named alpha with 50 components of the type double. Initialize the array so the last 25 components are equal to three times the index variable. that the first 25 components are equal to the square of the counter (or index) variable and Output the array so that exactly ten elements per line are printed. Show transcribed image text Write a program that declares an array named alpha with
OR
OR