Calculate Average of Integer Array

In this tutorial, we are going to learn a writing java program to find the average of given numbers. In this program basically, we will not take any user input. We have an integer array…

Perfect number program

We will learn how to write a program in Java to check whether a certain number is perfect or not. How will this Java program behave? The Java program for perfect numbers is written below….

Add two numbers without addition operator

We will learn to write a program to add two numbers without using the addition operator in Java. How will this Java program behave? This program will take two numbers as input. After performing some…

Fibonacci series program using Recursion

In this tutorial we will learn how to output the Fibonacci series in a Java program using recursion. How will this Java program behave? Its logic is different from the Fibonacci series program in C,…

Find the largest of three numbers

We will learn how to write a program to find the largest of three numbers. How will this Java program behave? Suppose someone gives 3 numbers as input 12, 15 and 10, then our program…

Find Prime Factor of a given number

We will learn to write a Java program to find the prime factor of a given program. Before we start writing the program, we should know what a prime factor is How will this Java…

Palindrome Program using Recursion

In this tutorial you will learn how to write a program in Java to check whether a given number is palindromic or not, using recursion. Before we proceed directly to writing the program to check…