In this tutorial, we will write a java program to check whether a given number is Sunny number or not. We will also write a… [Read More]
Peterson Number Program in Java
In this tutorial we will write a java program to check whether a given number is Peterson number or not. A number is called Peterson… [Read More]
Java Program to Find HCF and LCM of Two Numbers
In this tutorial, we will write a java program to find the HCF and LCM of two entered numbers. LCM (Least Common Multiple): The LCM… [Read More]
Java Program to Find average of 3 numbers
In this tutorial we will write a java program to find the average of three numbers. Java Program to find the average of 3 numbers… [Read More]
Java Program to Add Two Matrix using Multi-dimensional Arrays
Here we will write a java program to add two given matrices and display the output matrix that will be the sum of given matrices…. [Read More]
Java Program to Calculate Power of a Number
In this article, we will write java programs to calculate power of a number. 1. Program to calculate power of a number using for loop… [Read More]
Java Program to Find Quotient and Remainder
In this article, we will write a Java program to find Quotient and Remainder, when one number is divided by another number. Example: Program to… [Read More]
Java Program to Calculate Simple Interest
In this tutorial, we will write a java program to calculate simple interest. To write the program on compound interest, refer this guide: Program to… [Read More]
Java Program to Calculate Compound Interest
In this tutorial, we will write a java program to calculate compound interest. Compound Interest Formula Compound interest is calculated using the following formula: P… [Read More]
Java Program to print Even numbers from 1 to n or 1 to 100
In this tutorial, we will write a Java program to display even numbers from 1 to n which means if the value of n is… [Read More]
Java Program to print Odd numbers from 1 to n or 1 to 100
In this example, we will write a Java program to display odd numbers from 1 to n which means if the value of n is… [Read More]
Java Program for Selection Sorting
In this tutorial, we will write a Java program for selection sorting. How Selection Sort algorithm works? Selection sort algorithm works by dividing the original… [Read More]
Java Program to Print alternate Prime numbers
In this tutorial, we will write a Java program to display alternate prime numbers upto a given value. Java Example to print alternate prime numbers… [Read More]
Java Program to Count Vowels and Consonants in a String
In this article, we will write a Java program to count the vowels and consonants in a String. Program to count vowels and consonants in… [Read More]
Java program to find the occurrence of a character in a string
In this tutorial, we will write a Java program to find the occurrence of a character in a String. Program to find occurrence of a… [Read More]
- « Previous Page
- 1
- 2
- 3
- 4
- 5
- 6
- …
- 9
- Next Page »