For this Question: Given a non-negative Integer x, count and print the number of times 0 occurs in that number.The first line contains 1 integer x.

<b>Constraints</b>
0 &le; x &le; 10<sup>5</sup>Print count of zeroes in the number.Sample Input 1 :
20

Sample Output 1 :
1

Sample Input 2 :
60701

Sample Output 2 :
2, I have written this Solution Code: import java.util.*;
import java.lang.*;
import java.io.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        assert n>=0&&n<=100000 : "Input Not Valid";
        int ct=0;
        if(n==0) ct=1;
        while(n>0){
            int c=n%10;
            n/=10;
            if(c==0){
                ct++;
            }
        }
        System.out.print(ct);        
        
    }
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?