Tuesday, February 18

Integer Numeric Calculation Magic in Java



Hi ALL,

Here I wrote a program for Integer Numeric Calculation Magic in java.


/**
 *
 * @author Balamurgan M
 */

import java.util.Scanner;
public class intnumbercalc {
    public static void main(String arg[]){
        System.out.println(1.0 - 0.1 - 0.1 - 0.1 - 0.1 - 0.1);
System.out.println(1.0 - 0.9);
        System.out.println("Enter any numeric value\t");
        Scanner in=new Scanner(System.in);
       
byte x=in.nextByte();
        System.out.println("x value"+x);
    }
}

No comments:

Post a Comment

Backup files to google drive using PHP coding

 Dear All, To backup files to Google Drive using PHP coding, you can use the Google Drive API and the Google Client Library for PHP. Here...