CPE 101 Lab 9

Parallel Arrays



polygons

You are to write a program to read in the coordinates of a polygon and compute its area.

Here is some sample data.

You are given only one design constraint: the (x,y) coordinates of the connected points must be
represented as parallel arrays. 

You must decompose the solution into appropriate functions and choose looping constructs
best suited for the problem.

Document your solution clearly following the class coding standard. 

Submit your solution using handin to Lab09.

Due date: Wednesday 5:00pm



Bonus problem

Write a program that reads words up to 20 characters long from the console, one per line, and after each word displays the number of vowels it contains. Input is terminated by end-of-file.
Name your source file "vowelcount.c" and submit using handin to Lab09.