#include #include #include using namespace std; void ArrayExample(); void CharacterArrays(); void StringExamples(); void StructureExample(); void Enumerations(); struct Customer { string name; string phone; double deposit; }; union teamsters { int intval; double dblval; }; enum color { red, blue, green=100, purple=3, orange }; int main() { //ArrayExample(); //CharacterArrays(); //StringExamples(); //StructureExample(); Enumerations(); system("PAUSE"); return 0; } void ArrayExample() { const int SIZE=4; int myArray[SIZE]; myArray[0]=234; myArray[1]=12; myArray[2]=67; myArray[3]=35; int myArray2D[5][3]; int myArray2[]={23, 44, 125, 6}; int myArray3[SIZE]={0};//initializes everything to 0 int myArray4[SIZE]={1}; cout << " the first value in myArray is " << myArray[0] << endl; cout << "The third value " << myArray[2] << "subtracted from the first value " << myArray[0] << " = " << myArray[0]-myArray[2] << endl; } void CharacterArrays() { const int SIZE=20; char greeting[]="Hello on this cool Monday morning" ; cout << greeting<< endl; char name[SIZE]; cout << "Enter your first and last name" <