Ditutup

JavaBook and Galapagos Packages

Part I: Write a graphical applet that prompts a user to enter a number n and that draws n circles with random center and random radius. Note: 1. You must use the methods in javabook package for I/O and drawings. Javabook can be downloaded from L:\labs\csc295\ 2004Spring\ swing_javabook_pkg. This directory also includes the entire document needed for this program. 2. You must use the Random class in the [url removed, login to view] package as your random generator. To use it, you need import the following class to your program. import [url removed, login to view]; Note: The following is a sample java program to show you how to use the Random class in the [url removed, login to view] package. Please read the on-line document for the detail explanations. import [url removed, login to view]; class Die{ private Random g; public Die() { g = new Random(); cast(); } public int cast() { return [url removed, login to view](6) + 1; } } public class DieTesterUtil{ public static void main(String [] args) { Die d1 = new Die(); for (int i = 0; i <20; i++) { [url removed, login to view]([url removed, login to view]()); } } } Part II: page 83: 27 (Wu 3rd edition) ??" this program uses the Turtle class in Galapagos package which can also be down loaded from L:\ drive. Note: No group discussions are allowed. Suspicious works will cause the single score to be evenly shared amount all group members. These two programs have total of 80 points (ie. 40 pts each). It is distributed as the following: 1. comments (10 pts) 2. proper line indentations (5 pts) - 3 spaces at each hierarchical level 3. syntax error free (15 pts) 4. Correctness on Logic of the program (10 pts) A 10% penalty each day will be deducted from the late work.

## Deliverables

this website has eveything you should need. [url removed, login to view]

## Platform

windows xp

Kemahiran: Kejuruteraan, Java, MySQL, PHP, Kejuruteraan Perisian, Ujian Perisian

Lihat lagi: galapagos package java, the n and o, int i, how to program a website in java, group o, generator logic, c# document generator, die line, correctness, random line program, sample generator, java distributed system, write java program read, applet show website, show applet website, java program string generator, free generator website, score java program, sample java system, java score

Tentang Majikan:
( 0 ulasan ) United States

ID Projek: #3103201

8 pekerja bebas membida secara purata $15 untuk pekerjaan ini

vevssl

See private message.

$17 USD dalam 3 hari
(82 Ulasan)
6.3
mihaiscortaru

See private message.

$20.88 USD dalam 3 hari
(160 Ulasan)
6.0
ajaymovalia

See private message.

$8.5 USD dalam 3 hari
(17 Ulasan)
5.1
bunts007

See private message.

$21.25 USD dalam 3 hari
(47 Ulasan)
4.6
msmughal

See private message.

$17 USD dalam 3 hari
(37 Ulasan)
3.6
dmitry38

See private message.

$21.25 USD dalam 3 hari
(1 Ulasan)
0.5
aleksaksand

See private message.

$8.5 USD dalam 3 hari
(0 Ulasan)
1.3
jepila

See private message.

$3.4 USD dalam 3 hari
(1 Ulasan)
0.0