I have the below code which compiles however I would like it to loop back to the original menu after the user has selected a choice so another can be picked.
Any help would be greatly appreciated.
#include <conio.h>
#include <iostream>
using namespace std;
int main()
{
int choice;
cout<<"Select your favourite soft drink:\n";
cout<<"Pepsi - 1\n";
cout<<"sprite - 2\n";
cout<<"fanta - 3\n";
cin>>choice;
if(choice==1)
{
cout<<"Good Choice"<<endl;
}
else if(choice==2)
{
cout<<"Not bad"<<endl;
}
else if(choice==3)
{
cout<<"ew!"<<endl;
}
getch();
return 0;
}