CS50: Week 1 , Fall 2012
Sun 30 June 2013My Experience (Till now)
But we’ve got to use hashes and the output will ask for pyramid height and it has to look something like this -
Height: 8
##
###
####
#####
######
#######
########
#########
Even though it seems like a child’s play , believe me its not (Edit: For beginners), atleast not for beginners like me! , the main problem is/are the loops and nesting , and after that you also need to find a logic b/w the no. of spaces , sharps and new lines.
Dunno how am I supposed to solve it ?! ,but anyway I’ll keep on trying…thinking to pull off an all nighter now :P
PS:- There is one more problem in this pset , called “Greedy” in which we have to code a program which returns out minimum change for an amount of money, but more on that later, gotta code now ;P !
Comments