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