Færdiggjort

Need help with Homework, Quick Java task.

I have to do Reverse work here, i have the Interface and the compiled class file with the methods and everything and I need to write the program that uses

those methods (according to the API)

"Rational" class represent a rational number,

a "Rational" number is a number that can be represented by any two factors, numerator and denominator

i have to write the actual program that will do this

public class Rational {

private int numerator, denominator;

. . .

}

as an example, the number 2/3 will be numerator = 2 & denominator = 3,

there is NO need to make any Reduction to the numbers (i.e 6/8 -> 3/4) you can leave them as they are.

The actual assigment is Writing a program that gets 3 set of 2 int numbers, each of them will represent a rational number,

those numbers will represent the coefficient of a Quadratic equation (a^2+b*x+c=0), the program has to check and verify

how many roots does it have (according to the Delta) (Real numbers only).

if the equation has two or no solutin, the program will give a massage about it, if it has only one, it will write it.

*** Please notice the Casting, as the input numbers are INT, but the answer is double ***

*** Everything has to be according to the API, you cannot add anything other then what the API say ***

*** The final program has to run on BlueJ compiler ***

*** Comments & API has to be added to the code ***

########### added information ##############

[url removed, login to view] CANNOT use Arrays..

[url removed, login to view] CAN and SHOULD use the defualt classes (like math,tostring,scanner..)

##############################################

Evner: Java

Se mere: writing to a file java, writing task two, writing a compiler, writing a check example, notice of leave, need help with java homework, java writing to a file, i will help to writing java code, i need math homework to do, i need help with writing, help with writing, help with java code, do math homework, does c have classes, how to write task 1, roots, quick java task, need to write code, need help with writing, math homework

Om arbejdsgiveren:
( 123 bedømmelser ) Haifa, Israel

Projekt ID: #3328186

Tildelt til:

ragastens

See private message.

$21.25 USD på 1 dag
(10 bedømmelser)
3.2

4 freelancere byder i gennemsnit $22 på dette job

vw7892265vw

See private message.

$17 USD på 1 dag
(3 bedømmelser)
1.9
Ahmedbn

See private message.

$25.5 USD på 1 dag
(0 bedømmelser)
0.0
vnoutsourcingvw

See private message.

$25.5 USD på 1 dag
(0 bedømmelser)
0.0