For this Question: Implement the function <code>ceil</code>, which should take a number which can be a float(decimal)
and return its result as an integer with ceil function applied to it (Use JS In built functions)Function will take a float as inputFunction will return a numberconsole.log(ceil(1.99)) // prints 2

console.log(ceil(2.1)) // prints 3

console.log(ceil(-1.1)) // prints -1, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		float a =sc.nextFloat();
		int b=(int)(Math.ceil(a));
	    System.out.println(b);

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