Find Jobs
Hire Freelancers

Build a pyramid

$10-30 USD

Concluído
Publicado há mais de 7 anos

$10-30 USD

Pago na entrega
Your program is required to read a single line of input from the user (without printing any input prompt), which is expected to be a positive integer n. You can freely assume this will be a positive integer, and it's not important what you do in any other case; we'll only test your program with positive integer input. You can also freely assume that n will not be greater than 999. After reading the input, your program will print a block pyramid of size n. The bottom level of the pyramid will be n blocks wide, the level just above that will be n − 1 blocks wide, and so on, with the top level consisting of a single block. Each level's blocks are centered with respect to the blocks on the level below. The precise format is best demonstrated with an example. If the input to the program was 3, the output would look like this: See attached image. A few additional requirements apply: - Though I've indented the text above to set it apart from the rest of this project write-up, note that the bottom level of blocks must begin in the leftmost column of the output (i.e., it should not be indented). - There must be no spaces after the last * character on each line. - There must be a newline character on the end of each line, including the last one.
ID do Projeto: 11692003

Sobre o projeto

17 propostas
Projeto remoto
Ativo há 8 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
I have your program already done. Can deliver as soon as you accept the offer. My price is also as low as possible.
$10 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
17 freelancers estão ofertando em média $16 USD for esse trabalho
Avatar do Usuário
Hello. It is easy task, can be completed in couple of hours.
$10 USD em 1 dia
4,9 (750 avaliações)
7,0
7,0
Avatar do Usuário
Hello, I am expert in java/c/c++ and i can deliver your task in the least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first check your work then release the payments. Pm me for further details. Thank You!
$20 USD em 1 dia
5,0 (44 avaliações)
4,6
4,6
Avatar do Usuário
Hi i'm software engineer and expert c++ developer. I can do this project. Please contact me if you would like to get it done. Regards Usman Shery
$10 USD em 1 dia
5,0 (15 avaliações)
4,3
4,3
Avatar do Usuário
Hello My name is Ahmed, i'm a top rated freelancer. i worked over 250 projects and over 600 hours doing C++ and Java projects. 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 developer!" "Highly recommended. Very smart and well experience" looking forward to work with you Regards
$15 USD em 1 dia
5,0 (16 avaliações)
3,5
3,5
Avatar do Usuário
I am strong C++ developer and have strong algorithm knowledge. I assure you great quality work and within 1 day. I am open to any further improvements to the deliverable. Please hire me!
$20 USD em 1 dia
5,0 (4 avaliações)
3,1
3,1
Avatar do Usuário
Hi my whats app +923245064587 .............................................................................................................................................
$72 USD em 1 dia
5,0 (1 avaliação)
2,8
2,8
Avatar do Usuário
I'm computer engineering TA with 10+ years of experience. I'm experienced with data structures and algorithms , computation theory , discrete math and competitive programming I will solve all your problems perfectly in short amount of time and could help you understanding them
$25 USD em 1 dia
5,0 (6 avaliações)
2,6
2,6
Avatar do Usuário
hello sir,I have done this type of code earlier and I can deliver you a very efficient code
$15 USD em 0 dia
5,0 (5 avaliações)
1,7
1,7
Avatar do Usuário
I have participated in programming competition (ACM-ICPC,codeforces,topcoder). My language of choice is C ++ it is easy for me.
$15 USD em 0 dia
5,0 (2 avaliações)
1,2
1,2
Avatar do Usuário
A proposal has not yet been provided
$15 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
A proposal has not yet been provided
$15 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Hi, I can start working on the program right away and finish it in a timely manner. And yes, I did check the attached image too. Cheers
$17 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Dear Sir/Madam, Hope you will be doing good today. I have strong experience in development in C language. I already have a program written to display pyramid blocks. I can modify it to meet your requirements. I need to understand one thing. Based on your example of input 3, there should be only 2 rows. The bottom one containing 3 asterisks and upper one with only 1 asterisk. But your output is different. Can you please elaborate more on this? I can provide you the code immediately. I look forward to hearing from you soon. Best Regards, Arsalan Mansoor.
$25 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I write programs with an intention of creating an art. I treat every program i write as piece of gem, i polish it in every aspect, make sure bugs free and it should never break in any time.
$20 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
gardena, United States
5,0
28
Método de pagamento verificado
Membro desde out. 31, 2013

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.