Encerrado

Assignment 4

Write a C/C++ program that will enable a user to enter two rational numbers and an operator. The program is designed to handle four operators: + , - , * and / ( plus, minus, multiplication and division). You must design the interface that is easy to use and has some error checks. The results should be displayed in such a manner that the original input and the computed output are easily readable. The output must be in displayed in a reduced form. Sample input: 3/7 + 1/14 Output: 1/2 This algorithm will include the computation of the gcd. Once the gcd is determined the output can be reduced. The following expressions shows the computation for each operation: n1/d1 + n2/d2 = (n1*d2 + n2*d1)/(d1*d2) n1/d1 - n2/d2 = (n1*d2 - n2*d1)/(d1*d2) (n1/d1)*(n2/d2) = (n1*n2)/(d1*d2) (n1/d1)/(n2/d2) = (n1*d2)/(d1*n2) Submit output that demonstrates the use and correctness of your algorithm. Test your program with the following input. 14/3 + 5/2 33/4 - 6/8 4/9 * 18/24 2/16 / 8/64

## Deliverables

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

## Platform

Windows XP, MS Visual C++

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

Ver mais: n2, gcd two numbers, gcd numbers, gcd 1, programming operators, programming operator, algorithm test, algorithm sample code, algorithm gcd two numbers, form multiplication, correctness, multiplication program, form complete computation, windows form sample, rational numbers reduced form, multiplication algorithm, computation, multiplication, rational expressions, rational numbers program, php form submit output, php form multiplication, multiplication php, d2 program, d2

Acerca do Empregador:
( 7 comentários ) Korea, Republic of

ID do Projeto: #2976321

39 freelancers estão ofertando em média $17 para este trabalho

ndima

See private message.

$4.25 USD in 4 dias
(96 Comentários)
6.6
NeoOneC

See private message.

$8.5 USD in 4 dias
(117 Comentários)
6.6
mihaiscortaru

See private message.

$8.49 USD in 4 dias
(160 Comentários)
6.0
idleswell

See private message.

$14.45 USD in 4 dias
(175 Comentários)
5.9
utopiaprogr

See private message.

$17 USD in 4 dias
(62 Comentários)
5.4
sanatanvw

See private message.

$25.5 USD in 4 dias
(72 Comentários)
5.5
lvdt

See private message.

$12.75 USD in 4 dias
(101 Comentários)
5.1
projetcoder

See private message.

$17 USD in 4 dias
(39 Comentários)
5.0
leepwo

See private message.

$38.25 USD in 4 dias
(41 Comentários)
4.7
stevelb22

See private message.

$8.5 USD in 4 dias
(61 Comentários)
4.5
szaszalexmcpd

See private message.

$4.25 USD in 4 dias
(55 Comentários)
4.4
vw821235vw

See private message.

$8.5 USD in 4 dias
(94 Comentários)
4.3
simplycodervw

See private message.

$4.25 USD in 4 dias
(16 Comentários)
4.0
javabeevw

See private message.

$21.25 USD in 4 dias
(18 Comentários)
3.9
teamvw

See private message.

$5.95 USD in 4 dias
(36 Comentários)
3.8
shashikhanvw

See private message.

$51 USD in 4 dias
(15 Comentários)
3.8
cossimin

See private message.

$8.5 USD in 4 dias
(18 Comentários)
3.5
patrica

See private message.

$20.4 USD in 4 dias
(19 Comentários)
3.2
fastcodesrl

See private message.

$8.5 USD in 4 dias
(5 Comentários)
3.2
stolevw

See private message.

$3.4 USD in 4 dias
(28 Comentários)
2.6