Stadium Seating
photo credit: Daveybot This programming challenge is from an initial C++ programming course I took in Fall 2007. The Chapter (3) was titled “Expressions and Interactivity”. 3.2: There are three seating categories at a stadium. For a softball game, Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. [...]
Distance per Tank of Gas
photo credit: billaday This programming challenge is from an initial C++ programming course I took in Fall 2007. The Chapter (2) was titled “Introduction to C++”. 2.11: A car with a 20-gallon gas tank averages 21.5 miles per gallon when driven in town and 26.8 miles per gallon when driven on the highway. Write a [...]
Kirks Tweets on 2009-03-03
Waiting for class to start, reviewing two (real) existing projects, diving into Drupal, and brainstorming ideas for a quarter-long project. 08:52:33 Just found out about an MC Hammer and Vanilla Ice concert at Idaho Falls civic auditorium. If he is too legit to quit, who am I to say no? 09:01:11 Happy square root day! [...]
Total Purchase
photo credit: Phillie Casablanca This programming challenge is from an initial C++ programming course I took in Fall 2007. The Chapter (2) was titled “Introduction to C++”. 2.8: A customer in a store is purchasing five items. The prices of the five items are: Price of item 1 = $12.95 Price of item 2 = [...]
Annual Pay
photo credit: Material Boy This programming challenge is from an initial C++ programming course I took in Fall 2007. The Chapter (2) was titled “Introduction to C++”. 2.6: Suppose an employee gets paid every two weeks and earns $1700.00 each pay period. In a year the employee gets paid 26 times. Write a program that [...]
Average of Values
photo credit: psd This programming challenge is from an initial C++ programming course I took in Fall 2007. The Chapter (2) was titled “Introduction to C++”. 2.5: To get the average of a series of values, you add the values up and then divide the sum by the number of values. Write a program that [...]








