java help

Z

zero1884

I don't suppose there would be some generous Java programmer out there
who could write a simple program I need for an assignment.

I'm lost and I'm going to fail this class miserably.

The cost for tile is $11 per square foot. Write the code to display a
table to show the price for tile with length 10, 11, 12, 13, …, 20
and width 10, 11, 12, …, 20.
 
K

kaeli

zero1884 said:
I don't suppose there would be some generous Java programmer out there
who could write a simple program I need for an assignment.

I'm lost and I'm going to fail this class miserably.

The cost for tile is $11 per square foot. Write the code to display a
table to show the price for tile with length 10, 11, 12, 13, …, 20
and width 10, 11, 12, …, 20.

If you're that lost, you probably don't need to have someone do your
work for you so it looks like you aren't lost. It does both you and your
instructor an injustice.

Talk to your instructor. If other people are also lost, (s)he is not
doing the job right. If they aren't lost, where have you been?


--
 
A

Andrew Thompson

I don't suppose there would be some generous Java programmer out there
who could write a simple program I need for an assignment.

No.

Please fail quickly so that a more
deserving student might fill your
place at the educational institution
that you are squandering.

And if this is a troll..
Please get cut off soon so that a
more deserving poster might fill the
bandwidth you are wasting.
 
J

John

I don't suppose there would be some generous Java programmer out there
who could write a simple program I need for an assignment.

I'm lost and I'm going to fail this class miserably.

The cost for tile is $11 per square foot. Write the code to display a
table to show the price for tile with length 10, 11, 12, 13, …, 20
and width 10, 11, 12, …, 20.

If you get stuck and feel like giving up, use the time-honoured fudge
for weak problems like that one (you might amuse the lecturer to the
extent that he doesn't fail you). There are only 121 entries in the
table, and these can be achieved with 12 System.out.println() statements.

You will also have submitted the most efficient solution to the problem
(by some margin).

I have to agree with Roedy and Andrew in principle though. Please just
do the bloody work on time and go out drinking at weekends instead.

John
 
L

Liz

I don't suppose there would be some generous Java programmer out there
who could write a simple program I need for an assignment.

I'm lost and I'm going to fail this class miserably.

The cost for tile is $11 per square foot. Write the code to display a
table to show the price for tile with length 10, 11, 12, 13, ., 20
and width 10, 11, 12, ., 20.

here's a hint in perl

for($i=10;$i<20;$i++) {
for($j=10;$j<20;$j++) {
print $i * $j, " ";
}
print "\n";
}

100 110 120 130 140 150 160 170 180 190
110 121 132 143 154 165 176 187 198 209
120 132 144 156 168 180 192 204 216 228
130 143 156 169 182 195 208 221 234 247
140 154 168 182 196 210 224 238 252 266
150 165 180 195 210 225 240 255 270 285
160 176 192 208 224 240 256 272 288 304
170 187 204 221 238 255 272 289 306 323
180 198 216 234 252 270 288 306 324 342
190 209 228 247 266 285 304 323 342 361
 
S

steve

here's a hint in perl

for($i=10;$i<20;$i++) {
for($j=10;$j<20;$j++) {
print $i * $j, " ";
}
print "\n";
}

100 110 120 130 140 150 160 170 180 190
110 121 132 143 154 165 176 187 198 209
120 132 144 156 168 180 192 204 216 228
130 143 156 169 182 195 208 221 234 247
140 154 168 182 196 210 224 238 252 266
150 165 180 195 210 225 240 255 270 285
160 176 192 208 224 240 256 272 288 304
170 187 204 221 238 255 272 289 306 323
180 198 216 234 252 270 288 306 324 342
190 209 228 247 266 285 304 323 342 361

1. Are you female?
2. will you get your kit off for us.



we need a new news group for this stuff
alt. girls.kitoff.forhomework
 
Z

zero1884

Thanks for the help Liz. I did finally figure it out and that's how I
did it. The code is not that bad, it was the complier that was giving
me trouble.

Hey Andrew Thompson – kiss my ass funny guy. I happen to have a 3.9.
I just haven't had much programming. My degree is in networking and
this is just an elective I thought would be interesting. Kind of like
Andrew not getting the lamp to light when he pulled the elephant's
trunk, if you know what I mean.

I actually got a good laugh from your reply, sounds like something I
might write but I still think you're a dickhead.
 
A

Andrew Thompson

Hey Andrew Thompson – kiss my ass funny guy.

I think you are referring to 'steve', actually.

...Though given 'steve' also likes to dress up as
the 'anal_aviator', I imagine 'steve' might be
quite pleased at the offer. ;-)
 
J

Joona I Palaste

I think you are referring to 'steve', actually.
..Though given 'steve' also likes to dress up as
the 'anal_aviator', I imagine 'steve' might be
quite pleased at the offer. ;-)

He might be referring to your "Please fail quickly" comment. I think you
were right there, but it appears that some people get offended at the
prospect of actually having to *learn* instead of copying solutions off
the Internet and handing them over without understanding them.
 
A

Andrew Thompson

...
He might be referring to your "Please fail quickly" comment.

Oooh R--iiii-ght. Heck that was
...*hours* ago. How am I supposed
to remember when it is referred to
out of context?

[ W/out correct attributions, no less.. ;-) ]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top