Run ❯
×
Change Orientation
Change Theme, Dark/Light
#include
enum Level { LOW, MEDIUM, HIGH }; int main() { // Create an enum variable and assign a value to it enum Level myVar = MEDIUM; // Print the enum variable printf("%d", myVar); return 0; }
1