/pset1

pset1 exercises

Primary LanguageC

pset1

pset1 exercises

mario.c

given the height (max 8), draws a pyramyd. E.g.: given a height of 8, will print:

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

credit.c

given a card (debit or credit) number, it reports whenever is a VALID number and, if so, also report if it's an "AMEX", "VISA" or "MASTERCARD" number.

e.g.:
$ ./credit
Number: 4003600000000014
VISA"