{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# ch4EX1 - import import import import import i import...

This preview shows pages 1–2. Sign up to view the full content.

import java.util.*; import java.lang.*; import java.io.*; import java.text.*; import java.math.*; import java.text.DecimalFormat; i public class ch4EX1 { public static void main(String[] args) { int num; System.out.println("*********************************************"); System.out.println("* The purpose of this number is to *"); System.out.println("* tell What is the number, the order of *"); System.out.println("* three numbers, and assign numbers to *"); System.out.println("* letters in a menu driven program *"); System.out.println("*********************************************"); S do { System.out.println(); System.out.println("\t1. What is the number"); System.out.println("\t2. input three numbers"); System.out.println("\t3. numbers between 0 and 35"); System.out.println("\t4. EXIT"); System.out.println("\tPlease Enter 1, 2, 3, or 4 exit"); S System.out.println(); S Scanner console = new Scanner(System.in); num = console.nextInt(); n switch (num) { case 1: Number(); break; case 2: Three_numbers(); break; case 3: Integers(); break; case 4: System.out.println("Thank You for using

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

ch4EX1 - import import import import import i import...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online