Category Archives: Java Programs using if else statement

Java If Else Test Grade Program

Task: Java If Else Test Grade Program – Write a Java program to input test score of a student and show the grade according to the given criteria: test scores 90 or more , ‘A’ grade test scores 80 or more, ‘B’ grade test scores 70 or more, ‘C’ grade test scores 60 or more,… Read More »

Loading

Java Program To Check a Number is Even or Odd

Task: Write a Java Program To Check a Number is Even or Odd The Source Code for Even Odd Checking Java Program /* Write a Java Program for checking a number is even or odd */ package evenodd; /** * @author www.EasyCodeBook.com */ import java.util.Scanner; public class EvenOdd { public static void main(String[] args) {… Read More »

Loading