编辑器
#include
using namespace std; enum Level { LOW = 5, MEDIUM, HIGH }; int main() { enum Level myVar = MEDIUM; cout << myVar; return 0; }
6