I need help w/ this program. I don't know what to do.

I need a function to present a menu, send the menu choice to main.

Menu items are:

- 1 Add

- 2 Subtract

- 3 Multiply

- 4 Divide

Main prints out number of choice, bad choice.

Use Switch.

Cannot use If statements.

Here's something:

------------------------------------------------------------------------------------

#include<iostream.h>

#include<iomanip.h>

int main()

{

int one_digit_menu_choice;

int first_digit;

int second_digit;

int sum;

int difference;

int product;

int quotient;

cout<<"\n Enter 1 add, 2 subtract, 3 multiply, 4 divide";

cin>>one_digit_menu_choice;

while (one_digit_menu_choice!=0)

{switch (one_digit_menu_choice)

{

case 1:

cout<<"You have chosen choice:"<<one_digit_menu_choice;

break;

case 2:

cout<<"You have chosen choice:"<<one_digit_menu_choice;

break;

case 3:

cout<<"You have chosen choice:"<<one_digit_menu_choice;

break;

case 4:

cout<<"You have chosen choice:"<<one_digit_menu_choice;

break;

default:

cout<<"You have chosen an incorrect choice";

break;

}

cout<<"Please enter first digit.\n";

cin>>first_digit;

cout<<"Please enter second digit.\n";

cin>>second_digit;

------------------------------------------------------------------------------------

This is all I have right now. I'm still working on it. Any help would greatly be appreciated! Thanks!