Calculate Simple Interest Program in Java

Calculate Simple Interest Program in java

In this tutorial, we are going to learn writing a python program to calculate simple interest from given principal, rate of interest, and time. Problem Statement Our program takes three inputs from the user as principle, rate of interest and time, and return simple interest.For example, If the user input the principal value = 1900, … Read more

Factorial program in Java using recursion

Factorial Program Using Loop And Recursion in java

In this tutorial we are going to learn writing java program to calculate the Factorial of a given number using recursion. You can also check : Factorial program in java using Iterative method. What is Recursion? Recursion is a method that defines something in terms of itself, which means it is a process in which … Read more

Calculate power of given number in Java

power program in java

In this tutorial we will learn writing a program in java to calculate the power of a given number. To calculate the power, user will give the base number and the exponent number. Power is calculated by multiplying the base number exponent times. For Example: Suppose we have to calculate 5 to power 3. Here … Read more

Even and Odd number Program in Java

even odd program in java

In this tutorial we will learn writing the program in Java to check whether a given number is even number or not. Before start writing Lets know What is Even and Odd number? A number is even if it is completely divisible by 2 with 0 remainder. And the number that does not completely divisible … Read more

Factorial Program In Java using loop and recursion

java factorial program

In this tutorial we will learn writing program in java to find the factorial of a number using for loop, while loop, functions and recursions. Before start writing the program Lets first know What is Factorial of a number? Factorial of a whole number ‘n’  is the product of that number with every whole number … Read more