8.15.2009

Digit Verifer

import java.util.Scanner;

public class inputUserTest {

static Scanner sc = new Scanner (System.in);

public static void main (String[] args) {

System.out.println("Enter a digit");
int x = sc.nextInt();
System.out.println("You Have Entered " + x + "."); }

}

No comments:

Post a Comment