Question: Exercise 3: Write a C++ function that takes an integer N and returns its square (N) and its square root (VN). (Hint: use the functions
Exercise 3: Write a C++ function that takes an integer N and returns its square (N) and its square root (VN). (Hint: use the functions sqrt that returns the square root of a number N and a pointer to return one of the values)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
