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
Solution using System using SystemCollectionsGeneric using Syste... View full answer
Get step-by-step solutions from verified subject matter experts
