This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
This file contains 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
<html> | |
<head> | |
<title>Print Test Page</title> | |
<script> | |
printDivCSS = new String ('<link href="myprintstyle.css" rel="stylesheet" type="text/css">') | |
function printDiv(divId) { | |
window.frames["print_frame"].document.body.innerHTML=printDivCSS + document.getElementById(divId).innerHTML; | |
window.frames["print_frame"].window.focus(); | |
window.frames["print_frame"].window.print(); | |
} |
This file contains 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 final class Factorial { | |
public static void main(String[] args) { | |
Scanner s=new Scanner(System.in); | |
System.out.println("Check Factorial number: "); | |
int a=s.nextInt(); | |
int fc=1; | |
int i=1; | |
while (i<=a) { |
This file contains 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 LargestNumberAmongThreeNumber { | |
public static void main(String[] args) { | |
Scanner s=new Scanner(System.in); | |
int a,b,c,d; | |
System.out.println("Enter all three numbers: "); | |
a=s.nextInt(); | |
b=s.nextInt(); | |
c=s.nextInt(); |
This file contains 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 OddEven { | |
public static void main(String[] args) { | |
Scanner sc=new Scanner(System.in); | |
System.out.println("Calculate the Odd or Even: "); | |
//check odd even number........... | |
int a=sc.nextInt(); | |
do{ | |
//check formula 10%2==0 ; |