The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Homework Assignment

Posted by Chet Underwood, Esq. on October 10, 2001 at 4:26 PM

> > the prog one is to create an applet that displays 2 textfield and a button. when user enters a number in each of the textfields and clicks the "click here" button, the applet should display the following:
> > a/ the larger of m and n
> > b/ smaller of m and n
> > c/ m^n
> > d/square root of m

> > display looks like this
> > -----------------------------------------------------------------
> > .
> > -----------------------
> > | 4 |
> > -----------------------

> > -----------------------
> > | 8 |
> > -----------------------

> > -------------
> > |click here |
> > -------------

> >
> > --------------------------------------------------
> > | given no's : 4, 8 |
> > | Larger no: 8 |
> > | Smaller no: 4 |
> > | M^n: 4096
> > | square root of m: 2
> >
> > ----------------------------------------------------

> > if u could give the feedback by today that would be great thankyou....
> > just e-mail me at sambar1@aol.com


>
> >





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us