Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

GOT STUCK IN JAVA

Thread view: 
PROBLEM FACER - 13 Feb 2006 00:04 GMT
hi people iv got a problem in java programming.  infact i v got to do
an assignment to do and the question is WRITE A PROGRAM TO ASK THE USER
HOW MANY NUMBERS TO ADD AND THE REQUEST THOSE NUMBERS TO THE USER. THE
PROGRAM SHOULD ADD THOSE NUMBERS AND PRINT THE RESULT.  USE DIALOGUE
BOXES FOR ALL INPUT AND OUTPUT.
Can anyone please help me to do that? Thanks in advance.
SMC - 13 Feb 2006 02:46 GMT
> hi people iv got a problem in java programming.  infact i v got to do an
> assignment to do and the question is WRITE A PROGRAM TO ASK THE USER HOW
> MANY NUMBERS TO ADD AND THE REQUEST THOSE NUMBERS TO THE USER. THE
> PROGRAM SHOULD ADD THOSE NUMBERS AND PRINT THE RESULT.  USE DIALOGUE
> BOXES FOR ALL INPUT AND OUTPUT.
> Can anyone please help me to do that? Thanks in advance.

I wasn't going to help. However, since you SHOUTED the question... I'm
still not going to help. Aint I a stinker?

I would have thought an industrious hard working fellow like you would
have worked out that it's quicker just to steal/buy the solution from one
of your classmates. Or did your shouting scare them away too? ;-)

Signature

Sean

I'm an Engineer, not a normal person --Dilbert

Luc The Perverse - 13 Feb 2006 02:52 GMT
>> hi people iv got a problem in java programming.  infact i v got to do an
>> assignment to do and the question is WRITE A PROGRAM TO ASK THE USER HOW
[quoted text clipped - 9 lines]
> have worked out that it's quicker just to steal/buy the solution from one
> of your classmates. Or did your shouting scare them away too? ;-)

It appears he cut and pasted an all caps assignment.  It would seem it is
his teacher that needs reprimanded, not him.

--
LTP

:)
SMC - 13 Feb 2006 04:05 GMT
>>> hi people iv got a problem in java programming.  infact i v got to do
>>> an assignment to do and the question is WRITE A PROGRAM TO ASK THE
[quoted text clipped - 12 lines]
> It appears he cut and pasted an all caps assignment.  It would seem it
> is his teacher that needs reprimanded, not him.

I know, but it was more fun razzing him for shouting that for cut 'n'
paste laziness (on top of his do-my-homework laziness) :-))))


Signature

Sean

If you want it real bad, you can get it *real bad*.

Luc The Perverse - 13 Feb 2006 02:49 GMT
> hi people iv got a problem in java programming.  infact i v got to do
> an assignment to do and the question is WRITE A PROGRAM TO ASK THE USER
> HOW MANY NUMBERS TO ADD AND THE REQUEST THOSE NUMBERS TO THE USER. THE
> PROGRAM SHOULD ADD THOSE NUMBERS AND PRINT THE RESULT.  USE DIALOGUE
> BOXES FOR ALL INPUT AND OUTPUT.
> Can anyone please help me to do that? Thanks in advance.

The problem is - that this is an exceptionally vague question.   We're not
sure what you are having trouble with, so it is hard to help you.

Of course someone could do it for you, but that would deprive you of the
ability to learn.

Google can be very helpful in finding specific examples.   And you have
probably already been shown in class and or have textbook examples to help
you along.

Start by finding out how to display a number with a dialog box.
Then find out how to get a number using a dialog box.
Figure out how to count to a number.
Figure out how to add two numbers together.

If you can do these three things, then all you have to do is figure out how
to put them together.    If there's one of these things you're having
trouble with, then feel free to reply again and tell us what you tried,
exactly what you expected it to do and what it's doing instead and we should
be able to help you.  If there is an error message be sure to cut and paste
it exactly, and not paraphrase :)

BTW - welcome to the wonderful word of programming.

--
LTP

:)
Michael Redlich - 13 Feb 2006 03:47 GMT
> hi people iv got a problem in java programming.  infact i v got to do
> an assignment to do and the question is WRITE A PROGRAM TO ASK THE USER
> HOW MANY NUMBERS TO ADD AND THE REQUEST THOSE NUMBERS TO THE USER. THE
> PROGRAM SHOULD ADD THOSE NUMBERS AND PRINT THE RESULT.  USE DIALOGUE
> BOXES FOR ALL INPUT AND OUTPUT.
> Can anyone please help me to do that? Thanks in advance.

What have you done so far besides ask for our help?  If you attended
all of your classes, then this should be an easy assignment, don't you
think?  Have you considered working together with some of you
classmates?

We would be more-than-happy to help those that make a significant
effort with their projects.

Mike.
Roedy Green - 13 Feb 2006 09:00 GMT
On 12 Feb 2006 16:04:53 -0800, "PROBLEM FACER"
<geeresh@googlemail.com> wrote, quoted or indirectly quoted someone
who said :

>hi people iv got a problem in java programming.  infact i v got to do
>an assignment to do and the question is WRITE A PROGRAM TO ASK THE USER
>HOW MANY NUMBERS TO ADD AND THE REQUEST THOSE NUMBERS TO THE USER. THE
>PROGRAM SHOULD ADD THOSE NUMBERS AND PRINT THE RESULT.  USE DIALOGUE
>BOXES FOR ALL INPUT AND OUTPUT.
>Can anyone please help me to do that? Thanks in advance.

see http://mindprod.com/jjgloss/homework.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Roedy Green - 13 Feb 2006 09:01 GMT
On 12 Feb 2006 16:04:53 -0800, "PROBLEM FACER"
<geeresh@googlemail.com> wrote, quoted or indirectly quoted someone
who said :

>hi people iv got a problem in java programming.  infact i v got to do
>an assignment to do and the question is WRITE A PROGRAM TO ASK THE USER
>HOW MANY NUMBERS TO ADD AND THE REQUEST THOSE NUMBERS TO THE USER. THE
>PROGRAM SHOULD ADD THOSE NUMBERS AND PRINT THE RESULT.  USE DIALOGUE
>BOXES FOR ALL INPUT AND OUTPUT.
>Can anyone please help me to do that? Thanks in advance.

you are not telling the truth. You are not stuck. You have not even
started. You have not done a single thing that you DO know how to do.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

impaler - 13 Feb 2006 11:02 GMT
I think he never even bothered to read any answers.
steve - 13 Feb 2006 21:30 GMT
> I think he never even bothered to read any answers.

thats because someone else turned the computer on for him.
steve - 13 Feb 2006 21:27 GMT
> hi people iv got a problem in java programming.  infact i v got to do
> an assignment to do and the question is WRITE A PROGRAM TO ASK THE USER
> HOW MANY NUMBERS TO ADD AND THE REQUEST THOSE NUMBERS TO THE USER. THE
> PROGRAM SHOULD ADD THOSE NUMBERS AND PRINT THE RESULT.  USE DIALOGUE
> BOXES FOR ALL INPUT AND OUTPUT.
> Can anyone please help me to do that? Thanks in advance.

you have another problem.

your caps lock is ALSO STUCK.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.