In this article we will learn to implement a CPP program to illustrate enumerations. A C++ program is provided below to demonstrate enumerations. Program is as follows: #include <iostream> using namespace std; int main() { enum direction{left='l', right='r'}; char ch; cout<<"Enter direction (as character): "; cin>>ch; direction d = (direction) ch; switch(d) { case […]