Em Andamento

Simple Calculator Program Again

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

Habilidades: Programação C, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: programming operator, float programming, float c programming, c programming operator, calculator programming, calculator program in php, calculator full php code+, answer set programming, 0 1 integer programming, program line, yin, integer programming, invalid character error, buffer source code, line calculator, program output, php check input type, complete calculation test, calculator php program, code calculator, visual calculator, php form calculator, answer programming test, simple software program, cin calculator

Acerca do Empregador:
( 2 comentários ) United Kingdom

ID do Projeto: #2967838

Premiar a:

mihaiscortaru

See private message.

$11.99 USD em 1 dia
(160 Avaliações)
6.0

14 freelancers are bidding on average $10 for this job

NeoOneC

See private message.

$5.1 USD em 1 dia
(117 Comentários)
6.6
sawamu

See private message.

$12.75 USD em 1 dia
(215 Comentários)
5.9
yosevw

See private message.

$5.95 USD em 1 dia
(30 Comentários)
5.0
leepwo

See private message.

$12.75 USD em 1 dia
(41 Comentários)
4.7
teamvw

See private message.

$12.75 USD em 1 dia
(36 Comentários)
3.8
shashikhanvw

See private message.

$12.75 USD em 1 dia
(15 Comentários)
3.8
russellsmithvw

See private message.

$8.5 USD em 1 dia
(23 Comentários)
3.4
nsmith100

See private message.

$10.2 USD em 1 dia
(15 Comentários)
3.3
aktvw

See private message.

$12.75 USD em 1 dia
(8 Comentários)
2.0
bruce1970

See private message.

$8.5 USD em 1 dia
(5 Comentários)
1.7
andrewgolds

See private message.

$8.5 USD em 1 dia
(0 Comentários)
0.0
mikeykhanvw

See private message.

$12.75 USD em 1 dia
(0 Comentários)
0.0
kuashavw

See private message.

$11.05 USD em 1 dia
(0 Comentários)
0.0