Closed Thread Icon

Preserved Topic: Java + Newbie + Homework = Teh Suq (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=17552" title="Pages that link to Preserved Topic: Java + Newbie + Homework = Teh Suq (Page 1 of 1)" rel="nofollow" >Preserved Topic: Java + Newbie + Homework = Teh Suq <span class="small">(Page 1 of 1)</span>\

 
Rekabwerb
Nervous Wreck (II) Inmate

From: Weddington, NC, US
Insane since: Jan 2004

posted posted 02-04-2004 14:41

If anyone would like to help me with my java homework (would be greatly appreciated)...

1.) Figure out how to use the Vendor class from the SnackBar applet (without making any changes to it) for adding several integers. Write a console application that prompts the user to enter integers, one at a time, and adds entered positive numbers separately and negative numbers separately. When the user enters a zero, the program displays both sums and exits. The + and - operators are not allowed in the program (except + for concatenating strings). Use the EasyReader class for entering numbers. The numbers may be entered within a do-while loop, as follows:

int n;
...
do
{
... // Display the prompt
... // Read the next number n
if (n < 0 )
...
else if (n < 0)
...
} while (n != 0);

... // Display the two sums


here is the site for the files: http://skylit.com/disks.html


~Sh** happens, wear a diaper

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 02-04-2004 15:01

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Nimraw
Paranoid (IV) Inmate

From: Styx
Insane since: Sep 2000

posted posted 02-04-2004 15:03

Methinks you'll get a better answer if you:

a) Show / Tell people your progress so far
b) Explain exactly what you want help with, since noone will do your whole homework for you.
c) All of the above



Aww.. InI, you beat me to it....

[This message has been edited by Nimraw (edited 02-04-2004).]

Rekabwerb
Nervous Wreck (II) Inmate

From: Weddington, NC, US
Insane since: Jan 2004

posted posted 02-04-2004 15:04

http://skylit.com/javamethods/studentdisk.zip

in chapter 8

thanks for the help, i dont even know where to start with this, i already tried lookin through our book, but it sucks, and so does the teacher. Most of us went and baught java for dummies 8)

~Sh** happens, wear a diaper

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 02-04-2004 15:13

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Rekabwerb
Nervous Wreck (II) Inmate

From: Weddington, NC, US
Insane since: Jan 2004

posted posted 02-04-2004 15:29

System.out.println("") is what we've been using for that kind of stuff. Your code looks like what's in the book to. I dont know enough about java to help you help me do this. I should probably just get tutoring or somethin

~Sh** happens, wear a diaper

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 02-04-2004 15:46

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Rekabwerb
Nervous Wreck (II) Inmate

From: Weddington, NC, US
Insane since: Jan 2004

posted posted 02-04-2004 15:54

heh well im in the class right now so i cant really take much time to figure it out since i gotta pay attention to all the new stuff getting piled on my dome today. Ill be on tonight with more time, hopefully I'll be able to figure something out. Thanks for trying to help though heh

~Sh** happens, wear a diaper

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 02-04-2004 16:17

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu