Ratio Calculator Javascript

Enter the x value:
Enter the y value:
Ratio: