[SOLVED] SOLVED:LAB 01

15.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (2 votes)

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.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.