Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#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