aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Need Help with Function Operate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Need Help with Function Operate" Watch "Need Help with Function Operate" New topic
Author

Need Help with Function Operate

Mimi Sini
Greenhorn

Joined: Oct 16, 2008
Posts: 18
Hi,
Can someone help me out with the ex. below. I don't know where to even begin. Any help would be appreciated. Thanks.


Complete the function �operate� such that when the user enters decimal numbers in the first two textboxes, checks one of the radio buttons, and clicks on - button it accomplishes the following:
If the + radio button is checked displays the addition of the two numbers in the third textbox.
If the - radio button is checked displays the subtraction of the two numbers in the third textbox.
If the * radio button is checked displays the product of the two numbers in the third textbox.
If the / radio button is checked displays the division of the two numbers in the third textbox.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61603
    
  67

Originally posted by Mimi Sini:
Can someone help me out with the ex. below.

What is an "ex."? Please use real words when posting to the forums. Abbreviations such as "ex." in place of whatever it's supposed to mean only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61603
    
  67

Is this a homework assignment?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Originally posted by Bear Bibeault:
Is this a homework assignment?


Yes, just like Mimi's other posts.

Eric
Mimi Sini
Greenhorn

Joined: Oct 16, 2008
Posts: 18
Yes it is a hw (homework) assignment and is it really that hard to figure out what ex. stands for?
Bear, the few posts that I've previously posted and yes Eric - all hw (homework) assignments - asking for help, you have responded back with a very unhelpful bad attitude. Do not assume that everyone should be as great at java as you are. I originally signed up to this forum for help and yes, some people have been really helpful. Now can you provide me with a link on how to cancel my account on here?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61603
    
  67

The guidelines are there to help you get the most out of the forums, as well as to help others benefit from the postings. Using arcane abbreviations that will confound people and automated language translators is discouraged for these purposes.

With regards to homework, please read this for more information.

You will gladly get help with your homework and other problems. But you've got to do more than simply state the problem and expect others to do your work for you.
Mimi Sini
Greenhorn

Joined: Oct 16, 2008
Posts: 18
I have never expected for my homework to be done for me, I have only asked for help. Thank you for your time.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61603
    
  67

I'm glad to give it. Here's some help with getting help:

Look at your first post. You list the problem statement and some code.

What you don't do is to tell us what part of the code isn't working, or what you expect it to do, or what it's doing that you don't expect, or what part has you flummoxed, or what concepts you need some help on.

Rather, as posted, the post comes across as "please finish this for me". And JavaRanch is not a "finish this for me" kind of place.

Do you see the issue?

People here, Eric and myself included, are more than glad to help you learn what you need in order to get your stuff done. But you need to put in some effort yourself. And that includes posting good, well-formed questions.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Help with Function Operate