Hi,
Use a switch statement to move to the correct option based on the user input (1-5)
switch (input)
{
case 1:
// add address
break;
case 2:
// remove address
break;
case 3:
etc...
}
hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 166