Find Jobs
Hire Freelancers

coding assignment

$30-250 USD

Terminado
Publicado hace más de 5 años

$30-250 USD

Pagado a la entrega
// Task 1 public class Term : IComparable { private double Coefficient; private byte Exponent; // Creates a term with the given coefficient and exponent public Term(double coefficient, byte exponent) { Coefficient = coefficient; Exponent = exponent; } // Evaluates the current term for a given x public double Evaluate(double x) { return Coefficient * [login to view URL](x, Exponent); } // Returns -1, 0, or 1 if the exponent of the current term // is less than, equal to, or greater than the exponent of obj. public int CompareTo(Object obj) { Term other = (Term)obj; if (Exponent < [login to view URL]) { return -1; } else if (Exponent == [login to view URL]) { return 0; } else { return 1; } } // Read and write properties for each data member } // Task 2 public class Node<T> { private T item; private Node<T> next; // constructor public Node(T item, Node<T> next) { [login to view URL] = item; [login to view URL] = next; } // Read and write properties or getter/setter for each data member public T getItem() { return item; } public void setItem(T item) { [login to view URL] = item; } public Node<T> getNext() { return next; } public void setNext(Node<T> next) { [login to view URL] = next; } } // Task 3 interface IDegree { bool Order(Object obj); } public class Polynomial : IDegree { // A reference to the first node of a singly-linked list private Node<Term> front; // Inserts the given term t into the current polynomial in its proper order public void AddTerm(Term t) { if (t != null) ; [login to view URL](sum("OLD, polynomial consisting of term t")) } { … } // Adds the given polynomials p and q to yield a new polynomial public static Polynomial operator +(Polynomial p, Polynomial q) { … } // Multiplies the given polynomials p and q to yield a new polynomial public static Polynomial operator *(Polynomial p, Polynomial q) { … } // Evaluates the current polynomial for a given x public double Evaluate(double x) { … } // Prints the current polynomial public void Print() { … } public bool Order(Object obj) { … } }
ID del proyecto: 17961133

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
I have vast experience in Java and have done similar work before. If there are any other instructions to be given please provide them.
$30 USD en 2 días
5,0 (1 comentario)
1,0
1,0
4 freelancers están ofertando un promedio de $79 USD por este trabajo
Avatar del usuario
How are you? I am c++ expert. I read your description. I can do it soon. I want to discuss more on chat. Thanks
$155 USD en 3 días
5,0 (1 comentario)
4,0
4,0
Avatar del usuario
Hi. I have read your description and have interests in your project. I would like to have a discussion with chat to get more about your project. Thanks.
$100 USD en 3 días
5,0 (1 comentario)
3,0
3,0
Avatar del usuario
Hi there, I do Java programming. I checked your initial code and I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details.
$30 USD en 1 día
5,0 (6 comentarios)
3,2
3,2

Sobre este cliente

Bandera de KENYA
nairobi, Kenya
5,0
1
Forma de pago verificada
Miembro desde oct 15, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.