What wrong in this compiler say error Intger.ParseInt not found
import java.io.*; public class CompountInterest { public static void main(String[] args) { try{ DataInputStream x= new DataInputStream(System.in); int p,r,t,n; System.out.println("enter the principal amount:"); p=Intger.ParseInt(x.readLine()); System.out.println("enter the rate of interest:"); r=Intger.ParseInt(x.readLine()); System.out.println("enter the time period"); t=Intger.ParseInt(x.readLine()); System.out.println("enter the no of times that interest is compound perunit t"); n=Intger.ParseInt(x.readLine()); double amount=p*Math.pow(1+(r/n),n*t); double cinterest=amount-p; System.out.println("compound interest after"+t+"years:"+cinterest); System.out.println("amount after"+t+"years:"+amount); } catch(Exception e) {} } }