/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package my.first.java.program;
import java.math.BigInteger;
import java.util.Scanner;
import java.math.*;
/**
*
* @author A K Tamzid
*/
public class MyFirstJavaProgram {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
BigInteger a,b,c;
Scanner sc= new Scanner(System.in);
a=sc.nextBigInteger();
//b=sc.nextBigInteger();
//a= new BigInteger("1");
b= new BigInteger("2");
c=a.mod(b);
System.out.println(c);
if(c==a)
System.out.println("Yes");
}
}
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package my.first.java.program;
import java.math.BigInteger;
import java.util.Scanner;
import java.math.*;
/**
*
* @author A K Tamzid
*/
public class MyFirstJavaProgram {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
BigInteger a,b,c;
Scanner sc= new Scanner(System.in);
a=sc.nextBigInteger();
//b=sc.nextBigInteger();
//a= new BigInteger("1");
b= new BigInteger("2");
c=a.mod(b);
System.out.println(c);
if(c==a)
System.out.println("Yes");
}
}
No comments:
Post a Comment