public static void main(String args[]){
       double i = 34.32; 
System.out.println("Small Int. not greater than the no. : "+Math.ceil(i));
    System.out.println("Given Number : "+i);
System.out.println("Largest Int. not greater than the no. : "+Math.floor(i));
  }







 
 

0 comments:
Post a Comment