The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

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:

re:

Posted by Siddhant Kumar on May 01, 2001 at 9:14 AM

U seems to be very lazy.. and dont want to learn or write the simplest possible program... ok.. if u really want to learn. than read a good java program book for beigners and start writing such .. adding/ substraction program by urself

> Write a program that will read 2 integer numbers from user and display the sum, difference, product, quotient of these 2 numbers, and the remainder when the first is divided by the second number.

> Output:
> Enter integer 1:
> Enter integer 2:

> Result:
> Sum =
> Difference =
> Product =
> Quotient =
> Remainder =






Replies:

Sponsored Links



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