C++ Assignment 4
Functions: The Pea Pods program
Program Requirements
- Save The Pea Pods program to your My Documents folder. Right click on the link and choose
"Save Target As". Make sure it is saved as a
.cpp
(c plus plus) file.
- Run the program
- Before you start writing code, think about what different tasks this program performs. Come up with a number of
functions that the program can use.
- Rewrite the program in modular form making sure that
each function performs a single task. You should have at least 3 functions in addition to the
main
function.
- Indent code and use all the elements of Good Style we have learned so far.
- Include comments that show sample output, and your name, class and assignment #.
- Attach the
.cpp
to email and send it to mrsimon@lycos.com
- Don't forget to put your name, class and assignment # on the subject line.