#include #include #include "SizeT.h" #include "ColorT.h" using namespace std; int main(){ ColorT color; SizeT size; int i; srand(static_cast(time(nullptr))); cout << "Welcome to the dragon store!" << endl; cout << "There are a total of " << SIZE_COUNT * COLOR_COUNT << " dragons possible " << endl; cout << endl; cout << "The colors available are: "<< endl; for(color = FIRST_COLOR; color != ColorT::NONE; color = NextColor(color)) { cout << "\t" << ColorTToString(color) << endl; } cout << endl; cout << "The sizes available are:" << endl; for(size = FIRST_SIZE; size != SizeT::NONE; size = NextSize(size)) { cout << "\t" << SizeTToString(size) << endl; } cout << endl; cout << "A few random dragons in stock are:" << endl; for(i =0; i < 10; i++) { color = RandomColor(); size = RandomSize(); cout << "\tA " << SizeTToString(size) << " " << ColorTToString(color) << " dragon." << endl; } return 0; }