Print The Following Pattern For Given Number Of Rows by using Java Program
Pattern: 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 Code: import java.util.*; public class Pattern { public stati...
Multiplication Of A Given Numbers Elements by using Java Program
Code: import java.util.*; public class Multiplication { public static void main(String[] args) { int n,s=1; Sca...
Summation Of A Given Numbers Elements by using Java Program
Code: import java.util.*; public class Summation { public static void main(String[] args) { int n,s=0; Scanner ...
Reverse The Number by using Java Program
Code: import java.util.*; public class Reverse { public static void main(String[] args) { int n,i,s=0; ...
Reading A Text File by using Java Program
Code: import java.io.*; public class ReadingFromFile { public static void main(String[] args) { try ...
Find Out The Given Number Is Prime Or Not by using Java Program
Code: import java.util.*; import java.lang.Math; public class PrimeNumber { public static void main(String[] args) { ...
Find Prime Numbers From Given Range by using Java Program
Code: import java.util.*; public class PrimeNumber { public static void main(String[] args) { int n,i,j,k,c=1; Sc...
Find The Maximum Number From Given 3 Numbers by using Java Program
Code: import java.util.*; public class MaximumNumber { public static void main(String[] args) { float n1,n2,n3; ...
Find The Multiplication Of Two Multidimensional Matrix by using Java Program
Code: import java.util.*; public class MatrixMulti { public static void main(String[] args) { int i,j,k,m,n,...
Find Out Max,Mid & Minimum Number From 3 Input Numbers using Java Program
Code: import java.util.Scanner; public class MaxMidMin { public static void main(String[] args) { float...
Find Out Leap Year by using Java Program
Code: import java.util.Scanner; public class LeapYear { public static void main(String[] args) { int y;...
Value Interchange using Java Program
Code: import java.util.Scanner; public class Interchange { public static void main(String[] args) { int...
BMI (Body Mass Index) Calculator using Java Program
Code: import java.util.Scanner; public class BMI { double weight,feet,inch; public BMI(double w,double f,double i) ...