Find Jobs
Hire Freelancers

java homework

$10-30 USD

Cerrado
Publicado hace más de 7 años

$10-30 USD

Pagado a la entrega
Write [login to view URL] from page 212 Ninth edition. " 5.1M (Math: pentagonal numbers) A pentagonal number is defined as n(3n–1)/2 for n=1,2, . . ., and so on. Therefore, the first few numbers are 1, 5, 12, 22, . . .. Write a method with the following header that returns a pentagonal number: public static int getPentagonalNumber(int n)" Pentagonal numbers illustration and general equation.... Which is Pn = ( 3 * n2 - n )/2 Note for n =1 we have one vertex point for n = 2 we share vertex points for n=1 and add four more points this gives a pentagonal P2= 5 points For P3, we share vertex points of P2 and add 7 more points this gives P3 = 12 points For P4 we add 10 more points + 12 from P3 gives a P4 = 22. You will read a single integer from standard input and print out the the first n pentagonal numbers, where n was integer just read. All numbers will be printed space then number, last pentagonal number is new line terminated. Sample Run 1 (Input 2): Enter an integer: 2 The pentagonal numbers are: 1 5 Sample Run 2 (User input's 4): Enter an integer: 4 The pentagonal numbers are: 1 5 12 22 Sample Run 3 (NetBeans output window user inputs 7) run: Enter an integer: 7 The pentagonal numbers are: 1 5 12 22 35 51 70 BUILD SUCCESSFUL (total time: 7 seconds) Hint the method getPentagonalNumber( int n ), is singular, but you can write your method to kick out and array 1..n. Hint, For [login to view URL] with input 2, you will need to output:space1space5newline, so we print a space then a number. The only catch the last number ends in newline not space. Lets look at another example, you want to read in n and print out the squares of 1 up to n^2, last one is newline terminated. For example, input n=3; Output: "The square numbers are: 1 4 9\n" - this Simple loop will work.... [login to view URL]( "The square numbers are: " ); for( int i = 1; i <= n ; ++i ) [login to view URL]( i*i + ( i-1<n ? " " : \n" ) );
ID del proyecto: 11801283

Información sobre el proyecto

46 propuestas
Proyecto remoto
Activo hace 7 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
46 freelancers están ofertando un promedio de $21 USD por este trabajo
Avatar del usuario
Hire me directly from my profile. I can do your project. Dear, you project is illegal on this website and will soon be delated. So, you can hire me directly by going to my profile. Thanks Note: No freelancer can reply your messages after the project is deleted.
$24 USD en 1 día
4,9 (246 comentarios)
7,6
7,6
Avatar del usuario
Hello Sir/Mam NovaSofts Inc. is the leading IT Company of Islamabad Pakistan. We have 9+ years of experience and strong knowledge about programming languages Java C++ C C# Android So you don't worry about third party client. We are very much experienced and assure you that we’ll provide quality work. The project bid is negotiable and P.M for sample work. Thanks
$30 USD en 1 día
4,9 (382 comentarios)
7,8
7,8
Avatar del usuario
Hi, i have a lot of experience in java programming. i can easily complete this task for you. we can have a chat. thanks
$30 USD en 1 día
4,9 (351 comentarios)
7,5
7,5
Avatar del usuario
Hello I am Java expert and interested in this project. I have reviewed the details and confident to handle it perfectly. I have a lot of experience in helping in students with assignments, so I will keep codes well documented and simple. Please communicate to discuss further. Regards Anshu
$30 USD en 1 día
4,7 (469 comentarios)
7,5
7,5
Avatar del usuario
Hello My name is Ahmed, i'm a top rated freelancer. i worked over 250 projects and over 600 hours doing java projects. plus i passed freelancer java exam with top 15% plus i got 2 java certificate 1Z0-803 and 1Z0-804 with 3+ years experience. small overview of feedback on my profile "you want to get your projects completed with quality? Hire Ahmed. Highly recommended." "Thoroughly satisfied with Ahmed, and would recommend him for anyone looking for an excellent java developer!" "Highly recommended. Very smart and well experience" looking forward to work with you Regards
$15 USD en 1 día
4,9 (425 comentarios)
6,7
6,7
Avatar del usuario
Hello sir. This is simple requirement so I can do it in 1 hour. If you are interested we can discuss more. Regards
$15 USD en 1 día
5,0 (182 comentarios)
6,7
6,7
Avatar del usuario
Hi I am an Engineering undergraduate experienced in java programming for more than 3 year. I can do this for you. Please message to discuss further on this. Thanks Note-please check my profile for past projects and reviews.
$25 USD en 1 día
5,0 (126 comentarios)
6,1
6,1
Avatar del usuario
A proposal has not yet been provided
$30 USD en 2 días
4,9 (38 comentarios)
5,2
5,2
Avatar del usuario
We are team of excellent developers. We have 2 year experience related to your project field. We can do your project and solve your all problems according to your requirements. We have read your description for projects and we understand what you want so we are confident that we can do it easily in mention time. We assure you that you will be completely satisfy with our work. And after delivering your project if you feel some issue in understanding the projects then we will teach you free until you understand. If you have any question then feel free to ask. We are here for you. Thank you Demon Developer Team
$30 USD en 1 día
4,9 (49 comentarios)
5,0
5,0
Avatar del usuario
Hi, I read the assignment description and completely understand it. I’m highly interested in your project as it lies within my domain of expertise. I’m a software engineer and have excellent programming and problem solving skills and have participated in a number of programming competitions. Please PM me for more discussion and any queries you may have. Looking forward to your response. Thanks for considering my bid. Regards. Techxygen
$20 USD en 1 día
5,0 (6 comentarios)
4,1
4,1
Avatar del usuario
hello, consider it some. pls have a look at my profile for work and experience. looking fwd to hear back from I. thanks. regards sandip
$20 USD en 1 día
5,0 (6 comentarios)
3,7
3,7
Avatar del usuario
Hi, I've been in competitive programming for a while. I won silver medal on International Olympiad of Informatics, also I'm finalist of the ACM ICPC. I'm experienced in Machine Learning, AI, algorithms and data structures. Just ping me and I can prove me experience and skills. :)
$15 USD en 1 día
5,0 (5 comentarios)
3,9
3,9
Avatar del usuario
this is very easy task.. can do it in 1 hour as i am java expert thank you
$25 USD en 1 día
4,9 (7 comentarios)
3,4
3,4
Avatar del usuario
hi I am professionally software engineer having 2 years experience in this field I read the descriptions well and understand. I have lot of experience in java I will provide quality work according to your requirement in given time period I hope you will consider me on your project regards
$40 USD en 1 día
4,1 (18 comentarios)
4,2
4,2
Avatar del usuario
A proposal has not yet been provided
$15 USD en 1 día
5,0 (4 comentarios)
3,0
3,0
Avatar del usuario
I have been working as a software developer for more than one and half year and having good knowledge of algorithms and data structures and good at problem solving
$25 USD en 1 día
4,1 (8 comentarios)
3,3
3,3
Avatar del usuario
Hello, I am studying software engineering and I have more than 4 years experience in this field, so it wont take much time to do this. This is very important to me because this would be my third project and I would like to have positive reviews on start. As you can see my bid is pretty low, that is because I really need this second job on freelancer and I will do my best to do exactly what you need. I can start working right now and it can be finished in one hour. Please contact me so we can start. I know this job is not much for you, but to me, it is my chance to prove myself and I would be very grateful if you could help me with that. Thank you for understanding :)
$20 USD en 1 día
4,9 (5 comentarios)
2,4
2,4
Avatar del usuario
Hello, I can give the program to produce pentagonal numbers given n parameter with comments on the code if you want. If you have any questions that can help build confidence between us you are free to ask.
$15 USD en 1 día
5,0 (3 comentarios)
2,0
2,0
Avatar del usuario
i can make it in less than one hour. I read thr implementation steps and i can make it fast. I work with IntelliJ to program Java apps. If you are interested in my offer then leave me a message on chat
$15 USD en 0 día
5,0 (1 comentario)
1,9
1,9
Avatar del usuario
i have experience of developing computer oriented numeric method in java.......................................
$35 USD en 10 días
5,0 (1 comentario)
1,6
1,6

Sobre este cliente

Bandera de UNITED STATES
Irvine, United States
5,0
2
Forma de pago verificada
Miembro desde oct 16, 2016

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.