Write a program that prompts the user for two integers and then prints The distance
Chapter 2, Problem P2.5(choose chapter or problem)
Write a program that prompts the user for two integers and then prints The distance (absolute value of the difference) The maximum (the larger of the two) The minimum (the smaller of the two)Hint: The max and min functions are defined in the header.
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