For this Question: Tom has a water bottle with the shape of a rectangular prism whose base is a square of side a cm and whose height is b cm. (The thickness of the bottle can be ignored)

We will pour x cubic cm of water into the bottle, and gradually tilt the bottle around one of the sides of the base. When will the water be spilled? More formally, find the maximum angle in which we can tilt the bottle without spilling any water.Their is only one line of input which contain three integers a, b and x.

Constraints:-
1 ≤ a ≤ 100
1 ≤ b ≤ 100
1 ≤ x ≤ (a^2)*bPrint the maximum angle in which we can tilt the bottle without spilling any water, in degrees. Print 10 digits after decimal.Sample Input: 
2 2 4

Sample Output 
45.0000000000

Sample Input 
12 21 10

Sample Output
89.7834636934, I have written this Solution Code: import java.io.*;
import java.util.*;
import java.lang.Math;


class Main {
	public static void main (String[] args) throws IOException {
		BufferedReader scan=new BufferedReader(new InputStreamReader(System.in));
		String s[]=scan.readLine().split(" ");
		int width=Integer.parseInt(s[0]);
		int height=Integer.parseInt(s[1]);
		int givenVolume=Integer.parseInt(s[2]);
		double heightOfGivenVolume=(givenVolume)/(double)(width*width);
		double angleInDegree=0.0;
		if(heightOfGivenVolume==height)
		{
			angleInDegree=90.0;
		}
		else if(heightOfGivenVolume<=(height/2))
		{
			double tanTheta=(2.0*width*heightOfGivenVolume)/(double)(height*height);
			double angleInRadian=Math.atan(tanTheta);
			angleInDegree=90.0-Math.toDegrees(angleInRadian);
		}
		else
		{
			double tanTheta=width/(2.0*(height-heightOfGivenVolume));
			double angleInRadian=Math.atan(tanTheta);
			angleInDegree=90.0-Math.toDegrees(angleInRadian);

		}
		System.out.printf("%.10f",angleInDegree);

	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?