The following function accepts an int argument and returns half of its value as a double
Chapter 16, Problem 16.7(choose chapter or problem)
The following function accepts an int argument and returns half of its value as a double : double half(int number) { return number / 2.0; } Write a template that will implement this function to accept an argument of any type.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer