*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
3
Answer:
Output: 4. Recommended: Please try your approach on { IDE} first, before moving on to the solution. Method 1: ...
Answered by
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
Math,
1 month ago
English,
3 months ago
Math,
3 months ago
Math,
9 months ago
Social Sciences,
9 months ago