Question: Create a console application in which you find square on an array and display the array with the help of a function. Take the values

Create a console application in which you find square on an array and display the array with the help of a function. Take the values of array from the user.

[Hint] Create a function void Squared(float[] arr) which takes one array as input and saves the result in a second array then displays it.

e.g. int[] theArray = { 1, 3, 5, 7, 9 };

PrintArray(theArray);

Step by Step Solution

3.51 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solution using System using SystemCollectionsGeneric using Syste... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!