I fixed this image. When using img tags, be sure your URL points to an actual image. Use the Preview button (next to the Submit button) before posting.
Sunny Flower wrote:The graph is supposed to write four bar charts. I can't upload the image but you can google bar graphs in java and look at the simple ones.
See the first two posts in this combined thread.A few minutes ago, I wrote:. . . I think your two threads should be merged into one.
If you use img tags, be sure that the URL is actually an image. To test this, press the Preview button (next to the Submit button) before you post.
There are three kinds of actuaries: those who can count, and those who can't.
Why didn't you tell us that earlier? The picture you showed on Saturday with the pretty bars and shadows are quite inconsistent with that instruction. That makes for dreadfully awkward code. You are going to have to write 33+ lines, the first being the headings. Look at line 2 of your code. I hope you aren't being taught to write { and statements on the same line.Anduena Smith wrote:. . . the teacher said we can't use classes that are already written to write bars and axes. . . . .
There are three kinds of actuaries: those who can count, and those who can't.
Unless it is an exercise in writing loops. Does anybody ever write loops complicated enough to draw that sort of thing?Piet Souris wrote:. . . I agree partly with Campbell, this is nasty and ugly. . . .
Is that a bar 30 high from the bottom, or 30 deep starting from the top? If you want to start from the bottom, that will make the code even more awkwardTo draw a bar, 30 high . . .
Agree. Please contact your teachers and ask them for the full details.But before going on, is this indeed what you are supposed to do? No nice graphics, no nice colors, and looking at you printBee method, what other methods not related to bar diagrams are you supposed to implement?
Campbell Ritchie wrote:(...)Unless it is an exercise in writing loops. Does anybody ever write loops complicated enough to draw that sort of thing?
Campbel wrote:Is that a bar 30 high from the bottom, or 30 deep starting from the top?
There are three kinds of actuaries: those who can count, and those who can't.
Now, that really would spoil your day, wouldn't itPiet Souris wrote:. . . or both! . . .
There are three kinds of actuaries: those who can count, and those who can't.
They gave me pumpkin ice cream. It was not pumpkin pie ice cream. Wiping my tongue on this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|