Challenge 9 simulates the math you would need to do in order to buy paint for the inside of your house. The idea being that you can’t buy one third of a can of paint, so you need to figure out how many cans are required, rounded up to the nearest unit. The book suggestsContinue reading “Challenge 9: Paint Calculator”
Author Archives: corbettbw
Challenge 7: Area of a Rectangular Room
Oof. We are officially in the holiday season, if not necessarily the holiday spirit. I apologize for almost immediately falling off the wagon of posting, but a nice, relaxing trip to San Diego threw me off my game. Anyway, starting where I left off, here’s Day 8! This one was interesting, in that it’s relativelyContinue reading “Challenge 7: Area of a Rectangular Room”
Challenge 4: MadLib
Challenge 4 was all about making a MadLib; that game with an existing story framework, and you fill in the blanks with random words, prompted only by the kind of word, ie: noun, adjective, verb, and adverb. This one was actually pretty easy, and my original answer was decent. I prompted for words, plugged themContinue reading “Challenge 4: MadLib”
Challenge 3: Printing Quotes
This one was a bit of a wildcard. I worked on and solved (or so I thought) this challenge months ago, so when I went back to review it, I expected it to work, and that maybe there would be some funky code, but that it would all basically work. I was wrong. I’m notContinue reading “Challenge 3: Printing Quotes”
Challenge 2: Counting the Number of Characters
Challenge 2 is pretty easy at first glance. At second glance…it’s also pretty easy. I took it upon myself to make this as difficult as I could, and I’m not sure why. Sometimes you get in a funk, and you have to bounce ideas off of people until you break out of it. Anyway, thisContinue reading “Challenge 2: Counting the Number of Characters”
Challenge 8: Pizza Party
Challenge number 8 is all about pizza! I might be a bit hungry while I’m writing this, hence the enthusiasm. The problem statement for number 8 is to write a program to evenly divide pizzas based on number of people, number of pizzas, and number of slices per pizza. It also asks that the programContinue reading “Challenge 8: Pizza Party”
Challenge 1: Saying Hello
Challenge number 1 is a variation of the classic Hello World program; the first thing many programmers learn to do in any language. In this one, the program asks for your name, and then prints a greeting, using the name that’s been entered. As a challenge, it asks you to have the program print aContinue reading “Challenge 1: Saying Hello”
Challenge 6: Retirement Calculator
Challenge number 6 asks the dev to create a retirement calculator. The program should ask a user’s age, and what age they want to retire, calculates how many years are left before retirement, and what the year will be. It’s pretty straightforward, but there are some interesting ways to approach the puzzle. My strategy whenContinue reading “Challenge 6: Retirement Calculator”
New Challenges, New Opportunities
Hi! I’ve been kinda inconsistent for the last few months with my posting. I think now’s a good time to change that. I’ve been busy applying for jobs, and while I’ve had some luck, it’s been pretty rough. I recently had one that lasted about 3 weeks, had a realistic code challenge and pair programmingContinue reading “New Challenges, New Opportunities”
Chat App With Ruby on Rails, Devise, WebSockets, and Redis
If you want to jump to the good stuff: https://ruby-chat-room.herokuapp.com/ I’ve always liked the idea of making a site that does instantaneous communication. There’s something about an app that updates in real time that has always held my fascination. I remember a friend of mine made a chat room when we were in high school.Continue reading “Chat App With Ruby on Rails, Devise, WebSockets, and Redis”