Java Program to print week day for a given input week
In this tutorial, You will be learning writing Java Programs to print the weekdays for the given week in numeric form. For Example: Suppose the user has given input 3…
In this tutorial, You will be learning writing Java Programs to print the weekdays for the given week in numeric form. For Example: Suppose the user has given input 3…
In this tutorial, you are going to learn to write a java program to check whether a given character is in lowercase or uppercase. For Example: Suppose Given character input…
In this tutorial, you will be learning to write Java Program to check whether the given character is a vowel or consonant. There are total 5 vowels in the English…
In this tutorial, you are going to learn to write Java Program to convert a given temperature from Fahrenheit to Celsius. For Example: Suppose the given temperature in Fahrenheit is…
In this tutorial, you will be learning to write Java Program to convert temperature from Celsius to Fahrenheit. For example: Suppose we have a given temperature in Celsius 36 Now…
In this tutorial you will be learning Writing Java Program to check a Given input number is a positive number or a negative number. For Example 1 : Suppose given…
In this tutorial you will be learning Writing Java Program to check a Given input is either a Digit or an Alphabet or a Symbol. For Example: Example 1: Suppose…
In this tutorial you will be learning Writing Java Program to check a Given input is Alphabet or not. For Example: Example 1: Suppose a given input is 10 Then…
In this tutorial you will be learning Writing Java Program to check a Given input is Digit or not. For Example: Example 1: Suppose a given input is 10 Then…
In this tutorial, we will be learning to write a leap-year program in Java. A leap year is a year that has 29 days in February and 366 days in…
In this tutorial, you will be learning to write Java Program to check given number is Even number or odd number. Even a number is a number that is divisible…
In this tutorial, you are going to learn to write a java program to check whether a given number is divisible by 11 or not. For example: Take a number…
In this tutorial, you are going to learn writing java program to check whether a given number is divisible by 5 or not. For example: Take a number as input…
In this tutorial, you are going to learn to write a java program to check whether a given number is divisible by 3 or not. For example: Take a number…
An anagram is a word or phrase formed by rearranging the letters of a different word or phrase. For example: Two strings str 1 = arc and str2 = car…
In C Program, if else statement is also known as the conditional statement. It is used when we want to perform some operation on the basis of conditions. Or we…
Switch Statement is also known as the conditional statement in the C Programming language. Instead of using multiple if else conditions or nested if else we can go with a…
for loop is used to iterate the block of code several times in java. For loop is recommended if the number of iterations is fixed. for (initialization, condition, increment/decrement) {…
switch statement is a branch statement where there are multiple conditions in the form of cases. We can say that instead of using multiple if else if checks we can…
while loop in java is used to perform iteration on the block of code. Iteration will continue until specified Boolean condition is true. Once the condition becomes false loop will stop…