Find Jobs
Hire Freelancers

Need someone to help with my Java homework.

$30-250 USD

En curso
Publicado hace más de 6 años

$30-250 USD

Pagado a la entrega
Hi. I need to hire someone to help me with my Java homework. It's due in two days from today, Nov. 16, 2017. I'm not a great programmer and I'm stuck on a deadline for my other classes. Here is the prompt: Overview: The purpose of this assignment is to get some practice sorting objects in an array. The data you are sorting will consist of the approval ratings of congress members of California over the last five months. The numbers in this data were randomly generated; another words, it is not real data, only meant to be used for the purposes of this assignment. Disclaimer: You will not be allowed to use the Arrays or ArrayList classes for this assignment. Details: You will be creating a class for congress members, called CongressMembers. Instance variables must be private, and will consist of the congress member’s name, and the last five months of approval ratings. Instance methods will be public, and will consist of all necessary “getter” and “setter” methods, as well as a method to return the average of the congress member’s approval ratings. In a separate class called CongressMembersTest (which will contain your main method), you will create an array of CongressMember objects and do a few specific things with this array. Read in data from a file called [login to view URL] (from course webpage - Examples/Program4), initialize each object in the array with the data from each line of text from the data file. Each line in the file consists of the congress member’s first and last name, as well as five floating-point values (the approval ratings for the last 5 months). You’ll need to read through the file once to determine how many members of congress are in the file, in order to initialize the array with the correct number of elements. ***Please make sure the File object in the program you submit has a path of only the file name. Still in CongressMembersTest, create a method called sortByFirstName that sorts the array of CongressMembers by first name. It should both accept and return an array of CongressMembers. You can use bubble sort. Create another method called sortByApprovalRating that sorts the array of CongressMembers by average approval rating. It should also both accept and return an array of CongressMembers. Finally, your program needs to write to a text file called [login to view URL] the contents of CongressMembers array sorted by first name, and sorted by approval rating. Write to a file using FileWriter and PrintWriter objects. The very first line of the file should be how many congress members there are total. Separate the two sorted lists with two blank lines, and a print statement stating which list is which. The format of the file you write should be name and five approval months approval rating all on the same line separated by a space.
ID del proyecto: 15654999

Información sobre el proyecto

5 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
5 freelancers están ofertando un promedio de $171 USD por este trabajo
Avatar del usuario
Hey there, Greeting of the day, We have gone through with your initial requirements and analyzed that our skills best suits with your project requirements. Relevant Skills and Experience We have 7+ year of experience in web development and mobile development. We are having very much expertise in responsive web/ application development using PHP, Wordpress,, ajax, , codeigniter etc. Proposed Milestones $444 USD - Will Discuss Please provide your complete details so I can provide you my best estimates regarding the project.
$444 USD en 4 días
4,9 (21 comentarios)
5,5
5,5
Avatar del usuario
Hello sir. I have good java expertise and i would like to work on your project. Feel free to contact me. Thanks Relevant Skills and Experience Java Proposed Milestones $50 USD - Project
$50 USD en 1 día
5,0 (8 comentarios)
3,5
3,5
Avatar del usuario
Hi i have read your above details and i understand it. i also have a solution for it. i have done this type of work many times. i assure you that you will like my work. Relevant Skills and Experience Relevant Skills and Experience * Professionalism in ALL computer languages. * I am a Computer Scientist as well as a Forex Trader . * Awesome sound knowledge of JAVA C MUCH MORE Proposed Milestones $111 USD - JAVA HOMEWORK
$50 USD en 2 días
5,0 (2 comentarios)
0,4
0,4

Sobre este cliente

Bandera de UNITED STATES
United States
0,0
0
Forma de pago verificada
Miembro desde nov 16, 2017

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.