Help with Programming class - Mustang Evolution

Go Back   Mustang Evolution > Off Topic Forums > The Bar



Reply
 
Thread Tools Search this Thread
Please support our sponsors and let them know you heard about them here!
Old 02-17-2005, 02:05 PM   #1
Registered Member
Regular
 
tealstangman's Avatar
 
Join Date: Jan 2004
Region: Nevada
Posts: 68
Send a message via AIM to tealstangman
Help with Programming class

Someone please help with these assingmnets.

Exercise p2.1
Write a program that constructs a Rectangle object, prints it, and then translates and prints it three more times, so that, if the rectangles were drawn they would form one large rectangle

Exercise p2.2

The intersection method computes the intersection of two rectangles that is, the rectangle that is formed by two overlapping rectangles:

you call this method as follows:
Rectangle r3 = r1.intersection (r2);
write a program that constructs two rectangle objects, prints tehm, and then prints the rectangle object that descirbes the intersecton, what happens when the rectangles do no overlap


I need to do thes in the program called "BlueJ"

thanx for any help

Ryan
__________________
Ryan
2002 red GT mustang
GO:Flows, BBK lowering springs, KYB struts & shocks, Mac straightshot CAI, SCT chip and tune, Accufab Plenum 70mm, Motive 4.10's
Show:18x10 & 18x9 Bullitt Deep Dish Chrome Wheel's
295/35/18 & 265/35/18 Michelin Pilot Sport PS2's
tinted windows, billet grill
tealstangman is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old 02-17-2005, 02:11 PM   #2
Legacy Member
Legacy
 
Join Date: May 2003
Posts: 1,895
Send a message via AIM to Rellik Send a message via Yahoo to Rellik
Basic

10 Print Goto Hell Wanker!

20 Goto 10

Run

:d
Rellik is offline   Reply With Quote
Old 02-17-2005, 02:21 PM   #3
15.3 Second V8 Killer Yo
Legacy
Regular
 
PureVenom's Avatar
 
Join Date: Aug 2004
Region: Louisiana
Posts: 7,212
Send a message via AIM to PureVenom Send a message via MSN to PureVenom Send a message via Yahoo to PureVenom
Quote:
Originally Posted by tealstangman
Someone please help with these assingmnets.

Exercise p2.1
Write a program that constructs a Rectangle object, prints it, and then translates and prints it three more times, so that, if the rectangles were drawn they would form one large rectangle

Exercise p2.2

The intersection method computes the intersection of two rectangles that is, the rectangle that is formed by two overlapping rectangles:

you call this method as follows:
Rectangle r3 = r1.intersection (r2);
write a program that constructs two rectangle objects, prints tehm, and then prints the rectangle object that descirbes the intersecton, what happens when the rectangles do no overlap


I need to do thes in the program called "BlueJ"

thanx for any help

Ryan
What are we writing this in?
__________________
"When I know more, I'll be forthcoming. Or I won't be forthcoming, and I'll be honestly deceptive." - Les Miles
PureVenom is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old 02-17-2005, 02:33 PM   #4
Legacy Member
Legacy
 
wiarumas's Avatar
 
Join Date: Aug 2003
Region: Maryland
Posts: 1,738
Send a message via AIM to wiarumas Send a message via MSN to wiarumas
BlueJ im assuming.. never heard of it.
__________________

Please visit: TheEchoBoom: Gen Y Blog and Forum
wiarumas is offline   Reply With Quote
Old 02-17-2005, 03:34 PM   #5
Registered Member
Regular
 
tealstangman's Avatar
 
Join Date: Jan 2004
Region: Nevada
Posts: 68
Send a message via AIM to tealstangman
writing it in java.
__________________
Ryan
2002 red GT mustang
GO:Flows, BBK lowering springs, KYB struts & shocks, Mac straightshot CAI, SCT chip and tune, Accufab Plenum 70mm, Motive 4.10's
Show:18x10 & 18x9 Bullitt Deep Dish Chrome Wheel's
295/35/18 & 265/35/18 Michelin Pilot Sport PS2's
tinted windows, billet grill
tealstangman is offline   Reply With Quote
Old 02-18-2005, 01:08 PM   #6
Moderator Emeritus
Legacy
Regular
 
SpectorV's Avatar
 
Join Date: May 2003
Region: Alabama
Posts: 26,049
Send a message via AIM to SpectorV
the wonderful world of java... i remember making that crap its not hard if you have the class book it should show an example on how to do it.
__________________
2003 Cobra Vert (Redfire) #3938 of 5082 @ 05/27/2003
472rwhp/493rwtq -Modification List - Dyno Sheet
2012 Mustang 3.7L M6 (Kona Blue)
2011 Ford Edge Sport (Red Metallic)
SpectorV is offline   Reply With Quote
Old 02-18-2005, 01:14 PM   #7
Legacy Member
Legacy
 
Kiljosh's Avatar
 
Join Date: Oct 2004
Region: Pennsylvania
Posts: 1,282
Send a message via AIM to Kiljosh
Java is easy. Unfortunatley I took it last half of senior year. Yea I didn't learn much and alot didn't stick. Me and my one friend made a really niced text based blackjack game though.

OMG did we piss off teacher off in that class. Imagine 40 seniors, last quarter, last period, all in a class which they thought would be a blow off class, with the dumbest teacher in school.
__________________
Kiljosh is offline   Reply With Quote
Old 02-18-2005, 01:25 PM   #8
Moderator Emeritus
Legacy
Regular
 
SpectorV's Avatar
 
Join Date: May 2003
Region: Alabama
Posts: 26,049
Send a message via AIM to SpectorV
java is easy when all you are doing is stupid little in/out crap .... start doing things a little deeper.... its not much diff than c but its goofy footed.... i like C++ FAR better... but cpp dont offer the internet support quite so easily.
__________________
2003 Cobra Vert (Redfire) #3938 of 5082 @ 05/27/2003
472rwhp/493rwtq -Modification List - Dyno Sheet
2012 Mustang 3.7L M6 (Kona Blue)
2011 Ford Edge Sport (Red Metallic)
SpectorV is offline   Reply With Quote
Reply

Lower Navigation
Go Back   Mustang Evolution > Off Topic Forums > The Bar

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What solo class am i in? A5295 General Mustang Discussion 8 06-09-2007 08:39 PM
auto-x class... tedness The Bar 14 05-08-2005 03:22 AM
Im sitting in class right.... SpectorV The Bar 7 11-30-2004 09:23 PM
Art class..... v6white98 The Bar 17 11-17-2003 10:35 PM
OMG this class is boring!!! Rellik The Bar 6 09-08-2003 09:58 PM

» Like Us On Facebook



12:20 PM


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0

MustangEvolution.com is in no way associated with or endorsed by Ford Motor Company.