Calculator Program Needed

Cancelado Publicado Jun 17, 2005 Pagado a la entrega
Cancelado Pagado a la entrega

Java provides a class [url removed, login to view] that can be used to handle very large integers. Impliment a similar class, called BigInt, that can be used to do simple calculations with very large nonnegative integers. Design this class carefully. You will need the following:

- A data structure to represent large numbers: for example, a string or an array of digits in a number.

- public BigInt(string val)

A constructor that uses a string

representation of the integer for

initialization. The string may contain leading

zeros.

-public void display()

A method to write numbers. Do not write leading zeros, but if the number consists of all zeros, write a single zero.

-public BigInt add(BigInt val)

A method that returns the sum of val and

the instance of BigInt tht invokes add.

-public BigInt multiply(BigInt val)

A method that returns the product of val

and the instance of BigInt that invokes multiply.

Write a program that acts as an interactive calculator capable of handling very large nonnegative integers that uses the BigInt [url removed, login to view] calculator need perform only the operations of addition and multiplication.

In this program each input line is of the form:

num1 op num2

and should produce output such as

num1

op num2

-----------------

num3

where num1 and num2 are (possibly very large) nonnegative integers. op is the single character + or *, and num3 is the integer that results from the desired calculation. Be sure interface is user friendly.

"COMMENT WELL"

Thanks in advance.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

4) Comment Well

## Platform

Windows XP

Ingeniería Java MySQL PHP Arquitectura de software Verificación de software

Nº del proyecto: #3771449

Sobre el proyecto

15 propuestas Proyecto remoto Activo Jun 26, 2005

15 freelancers están ofertando un promedio de $60 por este trabajo

jcodemasters

See private message.

$29.75 USD en 2 días
(60 comentarios)
6.5
Premshanks

See private message.

$29.75 USD en 2 días
(338 comentarios)
6.4
ignexus

See private message.

$29.75 USD en 2 días
(105 comentarios)
6.4
eothman

See private message.

$42.5 USD en 2 días
(76 comentarios)
5.8
usmannaveedvw

See private message.

$29.75 USD en 2 días
(46 comentarios)
4.1
plasisinnovation

See private message.

$8.5 USD en 2 días
(12 comentarios)
4.0
csheppard91

See private message.

$85 USD en 2 días
(29 comentarios)
3.7
thomasjack

See private message.

$11.05 USD en 2 días
(10 comentarios)
3.1
prathima01vw

See private message.

$25.5 USD en 2 días
(15 comentarios)
3.0
romeoopk

See private message.

$8.5 USD en 2 días
(8 comentarios)
2.6
wndr

See private message.

$255 USD en 2 días
(7 comentarios)
1.0
tirupatibalajivw

See private message.

$17 USD en 2 días
(0 comentarios)
0.0
MatrixDecoder

See private message.

$85 USD en 2 días
(0 comentarios)
2.2
malikawan19vw

See private message.

$212.5 USD en 2 días
(0 comentarios)
0.0
siddiquenuvw

See private message.

$17 USD en 2 días
(1 comentario)
0.0
lastminuteman

See private message.

$42.5 USD en 2 días
(0 comentarios)
0.0