Simple Calculator Program Again

Completado Publicado Aug 27, 2003 Pagado a la entrega
Completado Pagado a la entrega

I did submit this before however was un-familiar with the paying side and my payments were rejected..i am now resubmitting this and need for it to be done very urgently...

The program should output the line:

SOFT1 0051 Calculator Program

Followed by a line giving your full name and NTU username.

The program should then repeatedly read and process calculations written in the form:

number operator number =

e.g.

20 + 10 =

where operator can be +, -,* , / and the numbers are type float not integer.

If valid numbers were read in (test with [url removed, login to view]) then the program will go on to test the operator and =, otherwise if non-numeric characters were read in then clear the error ([url removed, login to view](0)), empty the buffer ([url removed, login to view](128, ‘\n’)) and output the error message:

ERROR 3: invalid numeric input

If the last character entered is and the operator belongs to the set +, -,* , / then carry out the sum and output the result in the form:

number operator number = answer

e.g.

20 + 10 = 30

In the case of division, check the second number to see whether it is 0.0; if it is, output the message:

ERROR 4: unable to divide by zero

If the last character is not ‘=‘ then, assuming the user typed ‘&‘ instead of output the error message:

ERROR 1: & read in where = was expected

And if the operator did not belong to the set +, -, /, * then, assuming the user typed ? instead, output the error message

ERROR 2: ? read in where +, -, I, or * expected

After each calculation prompt and read as follows:

Another calculation (YIN)?

If their reply is ‘y or ‘Y’ then prompt for the next calculation, otherwise output a summary of successful calculations as follows:

There were 10 out of 23 successful calculations.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

Microsoft Visual C++ 6.0

Programación en C Ingeniería MySQL PHP Arquitectura de software Verificación de software

Nº del proyecto: #2967838

Sobre el proyecto

14 propuestas Proyecto remoto Activo Aug 27, 2003

Adjudicado a:

mihaiscortaru

See private message.

$11.99 USD en 1 día
(160 comentarios)
6.0

14 freelancers están ofertando un promedio de $10 por este trabajo

NeoOneC

See private message.

$5.1 USD en 1 día
(117 comentarios)
6.6
sawamu

See private message.

$12.75 USD en 1 día
(215 comentarios)
5.9
yosevw

See private message.

$5.95 USD en 1 día
(30 comentarios)
5.0
leepwo

See private message.

$12.75 USD en 1 día
(41 comentarios)
4.7
teamvw

See private message.

$12.75 USD en 1 día
(36 comentarios)
3.8
shashikhanvw

See private message.

$12.75 USD en 1 día
(15 comentarios)
3.8
russellsmithvw

See private message.

$8.5 USD en 1 día
(23 comentarios)
3.4
nsmith100

See private message.

$10.2 USD en 1 día
(15 comentarios)
3.3
aktvw

See private message.

$12.75 USD en 1 día
(8 comentarios)
2.0
bruce1970

See private message.

$8.5 USD en 1 día
(5 comentarios)
1.7
andrewgolds

See private message.

$8.5 USD en 1 día
(0 comentarios)
0.0
mikeykhanvw

See private message.

$12.75 USD en 1 día
(0 comentarios)
0.0
kuashavw

See private message.

$11.05 USD en 1 día
(0 comentarios)
0.0