Hey I'm just starting to understand C++. I'm doing a problem for my class and I can't finish the problem I'm drawing a complete blank. It's probably something very simple.
Here's the question
Create menu system using a switch statement. Ask the user to input a command based on a menu and display the appropriate message. Your program should continue to ask the user for commands until they enter a specific number. Your menu system can say anything as long as you use a switch statement to determine the command.
And here is my code:
#include <iostream>
#include <string>
#include <cmath>
using namespace std;
int main()
{
enum operations {addition = 1, subtraction, multiplication, division, 5};
int command;
float x , y;