Create a console application in which you find square on an array and display the array with
Fantastic news! We've Found the answer you've been seeking!
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 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);
Related Book For
Posted Date: