Leap year contains 366 days, which comes once every four years.
Write a java program to find all roots of a quadratic equation
Write a java program to find the largest among three numbers
In this program, we will find the largest among three numbers using if else statements.
Let understand about Ternary operation,
Write a java program to check whether an alphabet is vowel or consonant
In this program, java program to identify whether the given character is a vowel or not using if else statement. Whit the help of the below program, you will get to know how to write and print whether the given number is a vowel.
Write a java program to check whether a number is even or odd
In this program, enter any integer number as an input. Now we check its remainder with modulo operator by two. If remainder is zero the given. If remainder is 1 then the given number is odd. Hence, we show output according to the remainder.
Write a java program to swap two numbers
In this program, you will learn the technique of swapping two numbers using temporary variable in java programming language.