Question: Write a program to read 10 number into an Array. The program will find the largest number then find the square root of number and
Write a program to read 10 number into an Array. The program will find the largest number then find the square root of number and save back to the array. The program will display the largest number and the square rooted number. The program should have the following functions.
i. Function findLargest will bring the array as parameter and return the largest number to the main function.
ii. Function sqrtNumber will calculate the square root of all number in an array and return the array of square rooted numbers.
.....................................................................................USING C++..................................................................................

Question 3 014 Marts) Write a program to read 10 numbers into an array. The program will find the largest and the find the square root of the numbers and save twck to the amy The program will display the largest number and the square rooted number The program should have the following functions Function fiodlargest will bring the arrayas parameter and return the largest to the main tuction Function seri Number will calculate the square roor of all numbers in any and return the array of square rooted numbers Enter 10 number: 9.81 4 5 9 9 10 144 9 4 The highest number is 144 The square root for the number is: 39 22.2363 33.162 12 3 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
