In this post we will discuss a java program to take input of a number from the user and check…
import java.util.*; class alphabet { static Scanner in=new Scanner(System.in); public static void main() { char c=' '; do { System.out.println("Enter…