If else Statement
Java : If else Statement Program List
Program [1]
java program to check whether a short type number taken as input is an even number or an odd number
Program [2]
java program to accept an int type value as a parameter and print the square of it, if it is more than 120, otherwise print its cube
Program [3]
java program to input 5 real numbers and find their average If the average is greater than 50 print good otherwise print bad
Program [4]
java program to check whether an int type number taken as input is a multiple of 5 or not
Program [5]
java program to check whether an input integer number is a 2 digit number or not
Program [6]
java program to check whether an input number is a 3 digit number and divisible by three or not
Program [7]
java program to input 2 integers and check whether both the numbers are multiples of 7 or not
Program [8]
java program to input three integers and check whether all of them are unique from each other or not
Program [9]
java program to check whether input number is a 5digit number or not If it is extract the central digit
Program [10]
Java to accept three numbers and check whether they are Pythagorean triples or not
Program [11]
java program to check number is buzz number or not