Problem Statement
Create a distance helper that uses the Java Math library to report the exact and rounded distance between two points.
DEMO-OOP-33 โข Object Oriented Programming
Create a distance helper that uses the Java Math library to report the exact and rounded distance between two points.
Input is given as whitespace-separated tokens in this order:
Print the exact report in this order:
Submit runs every public testcase in this browser. Results and code never leave this device.
0 0 3 4
Distance: 5.00 Rounded: 5
1 2 4 6
Distance: 5.00 Rounded: 5
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question