class Rational

define a class for rational [url removed, login to view] rational numbers of two values type int, one for the numerator and one for the [url removed, login to view] the class Rational. Include a constructor with two arguments that can be used to set the member variables of an object to any legitimate [url removed, login to view] include a constructor that has only a single parameter of type int; call this single parameter wholeNumber and define the constructor so that the object will be initialized to the rational number wholenumber/[url removed, login to view] a default constructor that intializes an object to 0 (that is, to 0/1).Overload the input and output operators >> and <<.Numbers are to be input and output in the form 1/2, 15/32, 300/401, and so [url removed, login to view] that the numerator, the denominator, or both may contain a minus sign, so -1/2, 15/-32, and 300/-401, are also possible [url removed, login to view] all of the following operators so that they correctly apply to type rational:==,<=,>,>=,+,-,*, and/.

Write a test program to test your [url removed, login to view] include a function to normalize the values stroed so that, after normalization, the denominator is positive and the numerator and denominator are as small as possible.

## 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) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform


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

Veja mais: class rational, rational class, programming operators, programming define, programming class, forth programming, define programming, define functional programming, define c programming, c programming operators, c programming define, c programming class, class programming, class in programming, normalization, input positive numbers, complete class rational numbers, rational number class, test numbers call, class work, program positive numbers, condition class, class condition, set single sign, small class

Acerca do Empregador:
( 1 comentário ) United States

ID do Projeto: #3001480

Concedido a:


See private message.

$5 USD em 6 dias
(2 Comentários)

2 freelancers estão ofertando em média $7 para esse trabalho


See private message.

$8.5 USD in 6 dias
(20 Comentários)