It has been a while since i have taken C++ and I am tryig to write a program. The program is supposed to let the user input how many vertices the polygon will have, then let them put in the vertices, calculate the length of the sides, then use Heron's formula to determine the area. I know to start the program i should ask the user how many vertices the polygon will have, then i have to use a loop and arrays to enter the data. However i am not quite sure on how to begin writing this. Can anyone give me help on using loops with arrays?

Dave Sinkula 2,398