MrJames
2011-09-02 19:35:55 UTC
#include
using namespace std;
int main(){
enum bookType {MATH, CSC, ENGLISH, HISTORY, PHYSICS, PHILOSOPHY}; // part a
bookType book; // part b
book = MATH; // part c
// how to just advance book to the next position without adding 1 in cout???
cout << "Value of book is: " << book + 1 << endl; // d and e
I really appreciate the help guys. Thank you.
system("pause");
return 0;
}