In this Tutorial we are going to write a program that prints Left down triangle . see the below example. import java.util.Scanner; public class LeftDownPyramid { public static void main(String[]
In this Tutorial we are going to write a program that prints Right down triangle . see the below example. import java.util.Scanner; public class RightDownPyramid { public static void main(String[]
In this Tutorial we are going to write a program that prints left triangle . see the below example. import java.util.Scanner; class LeftPyramid { public static void main(String[] args) {
In this Tutorial we are going to write a program that prints right triangle . see the below example. import java.util.Scanner; public class RightPyramid { public static void main(String[] args)
A natural number that is greater than 1 , divided by 1 and itself is called prime number. In this tutorial, we are going to write a program to print
A natural number that is greater than 1 , divided by 1 and itself is called prime number. In this tutorial, we are going to write a program to print
A natural number that is greater than 1 , divided by 1 and itself is called prime number. In this tutorial, we are going to write a program to identify
A fibonacci series is a series of numbers that the next number is found by adding the two immediate preceded numbers of it. For example : 0, 1, 1, 2,
A palindrome number is a number that remains the same when its digits are reversed. For example : 12321 is a palindrome number . Now we are going to write
In this article we are going to print factorial of a number using recursive function. Recursive function is function called by itself during its execution . See the below example.
The product of all natural numbers up to given natural number is called factorial . In maths, factorial is represented with the symbol ! . See the below examples. 4! =
In this tutorial we are going to print the reverse number of a given number. For better understanding see the below example. import java.util.Scanner; public class Reverse { public static
In this Tutorial we are going to swap two variables without using temporary variable . Here swapping means, inter changing the value of two variables public class SwapWithoutTemp{ public static
In this Tutorial we are going to swap two variables. Here swapping means, inter changing the values of two variables . For Example . int a =10 , int b
Welcome to WordPress. This is your first post. Edit or delete it, then start writing! Welcome to WordPress. This is your first post. Edit or delete it, then start writing!Welcome