Find Jobs
Hire Freelancers

Java Code Project

$10-30 USD

Terminado
Publicado hace alrededor de 10 años

$10-30 USD

Pagado a la entrega
You will write a class [login to view URL] that implements an interface [login to view URL], provided to you by the instructor. Download this interface and a short testing program from Canvas. Do your own testing to ensure correctness; do not rely on the provided test program to test every input possibility. YOU MUST SOLVE ALL OF THESE PROBLEMS RECURSIVELY. If you turn in a non-recursive solution for any problem, that problem will receive no credit. The following are the methods in the interface that your class must implement. public int sumTo(int max) Returns the sum of all numbers from 0 to the given maximum value, inclusive. For example, sumTo(5)returns 15 because 0 + 1 + 2 + 3 + 4 + 5 = 15. If sumTo is passed a negative number, it returns the sum from zero down to that number; public void printNumbers(int max) Prints a pattern of bracketed numbers, by powers of two down from the given max, in a mirrored pattern. If printNumbers is called with a max less than or equal to 0, it produces no output. printNumbers(0) prints printNumbers(1) prints [1] printNumbers(2) prints [1][2][1] printNumbers(3) prints [1][3][1] printNumbers(4) prints [1][2][1][4][1][2][1] printNumbers(8) prints [1][2][1][4][1][2][1][8][1][2][1][4][1][2][1] printNumbers(15) prints [1][3][1][7][1][3][1][15][1][3][1][7][1][3][1] public int toDecimal(String text) Assumes that the given text string represents a binary number, such as "1010010", and returns the int value that represents that binary number in base-10 (decimal). The empty string is assumed to have the value 0. For example: toDecimal("") returns 0 toDecimal("0") returns 0 toDecimal("1") returns 1 toDecimal("10") returns 2 toDecimal("11") returns 3 toDecimal("1000") returns 8 toDecimal("1011") returns 11 toDecimal("111000") returns 56 toDecimal("1010010") returns 82 public boolean phraseAnagramCheck(String s1, String s2) Returns true if s1 and s2 represent phrases that are anagrams of each other. Anagram phrases are strings that contain the same letters in the same multiplicities (counts). You should perform a case- insensitive comparison, ignoring differences in capitalization between s1 and s2; for example, "Acres" and "CARES" should be considered anagrams. You should also ignore spaces.  public void printZigZag(int size, int indent) Prints a zig-zag pattern of asterisk * characters, with the entire pattern indented by the given number of spaces. The pattern should draw horizontal lines of decreasing lengths, repeated in its top-left section and its bottom-right section. If the value of size is less than or equal to zero, or if the value of indent is negative, no output is produced. It's easier to show than it is to describe, so here are some example outputs: printZigZag(4, 0) prints: (output on next line) * ** * **** * ** * printZigZag(8, 0) prints: (output on next line) * ** * **** * ** * ******** * ** * **** * ** *  Expected output: sumTo 5: 15 sumTo -6: -21 [1] [1][2][1] [1][3][1] [1][2][1][4][1][2][1] [1][2][1][4][1][2][1][8][1][2][1][4][1][2][1] [1][3][1][7][1][3][1][15][1][3][1][7][1][3][1] [1][3][1][7][1][3][1][15][1][3][1][7][1][3][1][30][1][3][1][7][1][3][1][15][1][3][1][7][1][3][1] 0 0 1 2 3 8 11 56 82 true true false false false zigzag 1 * zigzag 2 * ** * zigzag 3 * *** * zigzag 4 * ** * **** * ** * zigzag 6 * *** * ****** * *** * zigzag 8 * ** * **** * ** * ******** * ** * **** * ** * zigzag 12 * *** * ****** * *** * ************ * *** * ****** * *** * zigzag 16 * ** * **** * ** * ******** * ** * **** * ** * **************** * ** * **** * ** * ******** * ** * **** * ** * zigzag 35 * ** * **** * ** * ******** * ** * **** * ** * ***************** * ** * **** * ** * ******** * ** * **** * ** * *********************************** * ** * **** * ** * ******** * ** * **** * ** * ***************** * ** * **** * ** * ******** * ** * **** * ** *
ID del proyecto: 5466908

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 10 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
Hi, Please see the reviews that I have got while doing similar java projects. I can deliver you the correct code with all the comments so that you get god grade. Please ping me to discuss things in detail.
$30 USD en 1 día
4,9 (7 comentarios)
3,2
3,2
7 freelancers están ofertando un promedio de $31 USD por este trabajo
Avatar del usuario
HI Contact me for an efficient, well documented and perfect solution and development of your project. I ensure quality work with always on time delivery of project and dedicated support and follow up. Thanks Farah Saif
$30 USD en 1 día
5,0 (65 comentarios)
5,4
5,4
Avatar del usuario
Hi, I am experiment on java for academic I can help you with your task Please feel free to contact to me Thank you
$30 USD en 3 días
5,0 (6 comentarios)
2,7
2,7
Avatar del usuario
Contact me if you are interested .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
$55 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hello Sir, We have gone through the details you have provided and we have already worked on a similar project before and can deliver as u have mentioned and would be pleased to work on this with you to deliver the results that you have expected and we have already worked on a similar project before and can deliver as u have mentioned We are sure you will not be disappointed if you give us this opportunity. Our team is experienced, creative & efficient enough to get your job done well. We have an impeccable record and all our clients enjoy working with us, we are sure that you will too, our prices are cheapest in market. can u provide your email or sky-pe etc for further discussion about the project I am ready to discuss with you with best Regards
$55 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
This is an interesting assignment for me also. I would be happy if I get this opportunity to solve this problem.
$20 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Those problems are too easy. Give me the interface file and the testing program as mentioned "Download this interface and a short testing program from Canvas." I could finish all these project in under 1 hour. Thanks
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Lynnwood, United States
5,0
10
Forma de pago verificada
Miembro desde feb 11, 2014

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.