Friday, January 9, 2009

Console App

Today is going to be a review day...

Your goal is write a console application that computes the perimeter length and area of regular polygons. Here's the pseudocode:
  • iostream, cmath, namespace std
  • Declare variables
  • Start loop
  • Prompt user for how many sides for the polygon
  • Prompt user for length per side
  • Calculate perimeter
  • Calculate area using equation (on chalkboard)
  • Output perimeter & area
  • Prompt user to do more polygons
Make sure that your program can properly handle ALL possible user inputs, including negative lengths, non-numeric entries, nonsensical values... And correct the entries.

Upload your main.cpp file when you're done...


.

Wednesday, January 7, 2009

Wednesday

Sorry I'm still not back.

Today you guys can work on BPA.

Nick & Castiel, work on the Network reading in Chapter 8.

I'll be back tomorrow.


.

Monday, January 5, 2009

More on Menus

You guys should all be working on your menus today...

Each of you should be getting close to being completed.


.