Computer Science, asked by diliptanwar0896, 29 days ago

*Write a program to create an array of 5 numbers and print the square root of 2nd and cube root of 4th element*
Pls anyone there pls answer my question AND GIVE CORRECT ANSWER
(class 8 chapter-2 *C++*)

Answers

Answered by boypro015
3

Answer:

Output: 4. Recommended: Please try your approach on { IDE} first, before moving on to the solution. Method 1: ...

Answered by ltzSweetAngel
1

Answer:

The sqrt() function is defined in math. h header file. To find the square root of int , float or long double data types, you can explicitly convert the type to double using cast operator. int x = 0; double result; result = sqrt(double(x));

Similar questions