Skip to content

nessabauer/mario

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Mario - CS50

Problem set: Toward the beginning of World 1-1 in Nintendo’s Super Mario Brothers, Mario must hop over adjacent pyramids of blocks, per the below. Let’s recreate those pyramids in C, albeit in text, using hashes (#) for bricks, a la the below. Each hash is a bit taller than it is wide, so the pyramids themselves are also be taller than they are wide.

   #  #
  ##  ##
 ###  ###
####  ####

Projeto da semana 1 CS50: Construir uma piramide em C, usando #, como na imagem acima. Usuário digita quanidade de degrais que a piramide terá com a limitação de 1 a 8.