help me please for making these program

i need to make this program .but i can't.but i need it so much...
work is

creation and filling of a new (one-dimensional) array of double precision floating point type elements according to step two of an individual assignment
output of both arrays
creating one-dimensional array in free store (heap) using new operator and remove it before end of execution using delete operator. Program should have signal errors if transformation or filling are not possible.

task

1)All negative elements should be replaced with their squares
2)Square roots of diagonal elements
row-4
column-4
Topic archived. No new replies allowed.