This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner | |
public class JavaProgram | |
{ | |
public static void main(String args[]) | |
{ | |
int a, b, x, y, t, hcf, lcm; | |
Scanner scan = new Scanner(System.in); | |
System.out.print("Enter Two Number : "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner | |
public class JavaProgram | |
{ | |
public static void main(String args[]) | |
{ | |
int a, b, x, y, t, hcf, lcm; | |
Scanner scan = new Scanner(System.in); | |
System.out.print("Enter Two Number : "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
import java.math.*; | |
class battel | |
{ | |
int findValue(int x){ | |
BigInteger f = new BigInteger; | |
f = 1; | |
for(int i=1;i<=x;i++){ | |
f=f*i; |
NewerOlder