#include using namespace std; const int MAX_PHRASE_COUNT = 1000; const int MAX_GRADES = 20; int main() { int i; srand(time(NULL)); // an array of 10 integers int numbers[10]; int numbersSize = 10; int min, max; // an array of 20 floats float grades[MAX_GRADES]; // a list of strings string phrases[MAX_PHRASE_COUNT]; //an array of characters char vowels[] = {'a','e','i','o','u'}; char vowels2[5] = {'a','e','i','o','u'}; char vowels3[7] = {'a','e','i','o','u'}; int vowelSize; //char vowles4[2] = {'a','e','i','o','u'}; cout << "The size of numbers is " << sizeof(numbers)/sizeof(numbers[0]) << endl; cout << "The size of grades is " << sizeof(grades)/sizeof(grades[0]) << endl; cout << "The size of phrases is " << sizeof(phrases)/sizeof(phrases[0]) << endl; cout << "The size of vowels is " << sizeof(vowels)/sizeof(vowels[0]) << endl; cout << "The size of vowels2 is " << sizeof(vowels2)/sizeof(vowels2[0]) << endl; cout << "The size of vowels3 is " << sizeof(vowels3)/sizeof(vowels3[0]) << endl; vowelSize = sizeof(vowels)/sizeof(vowels[0]); // print all of the vowels cout << endl << endl; for(i=0;i 0) { cout << ", "; } cout << numbers[i]; } cout << endl; // this is broken, again, not broken, but it does not do what you think it // does. cout << "The numbers are " < numbers[i]) { min = numbers[i]; } if (max < numbers[i]) { max = numbers[i]; } } cout << "The min is " << min << endl; cout << "The max is " << max << endl; return 0; }