Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that uses three numeric arrays. Store the evennumbers from 2 thr

ID: 3607916 • Letter: W

Question

Write a program that uses three numeric arrays. Store the evennumbers from 2 through 10 in the first array. Store the square ofthe even numbers from 2 through 10 in the second array using thepow function. Store the square root of the even numbers from 1through 10 in the third array using the sqrt function.

After filling the arrays, the program should prompt the user toenter a number. The program should then search for the number inthe first array, and then use the second and third arrays todisplay both the square and the square root of the number. Allowthe user to display the square and square root for as many numbersas desired without having to execute the program again.

Explanation / Answer

please rate - thanks #include #include int main() {int num[5],square[5]; double sqroot[5]; int i,j=0,n; for(i=2;i0) {if(n>10)    cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote