I am in a C++ programming class, but I am completely lost when it comes to compiling and executing programs, please help!
Write a program that declares an array of 50 integers. Initialize the array so that the first 25 elements are equal to the square of the index variable, and the last 25 elements are equal to three times the index variable. (For example, alpha[5]=25, alpha[31]=93.)
Output the array so that 10 elements per line are printed.
Please don't do people's homework for them. Try to get him/her to attempt a solution, so that we can help them with any problems they encounter. That way, they are much more likely to actually learn something.