LAB 01 # Solution

$14.00

Category:

Description

Objective:
This lab is to introduce you to using the JDK in Window and UNIX environments and to help you
become familiar with some of the basic concept in Java.
Overview:
In this lab you are to write a simple Java program to prompt the user for two 3-digit integers and print the
product of the two integers in the following form. There is a sample program in directory
~wang/sample20.
123
X 246
——————-
738
492
246
——————-
30258
Activities:
1. In Window environment
a. Use notepad/notepad++ to edit and modify your program.
b. Compile and execute your program in Command Prompt or DOS window.
2. In UNIX environment
a. Use pico to edit and modify your program.
b. Compile and execute your program from the UNIX command line.