Skip to content
Permalink
9e8946eb61
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
32 lines (22 sloc) 356 Bytes
int signuporlogin(){
int option;
menu:
cout << "[1] Sign Up" <<endl;
cout << "[2] Log In" <<endl;
cin >> option;
switch(option){
case 1:
firstentry();
break;
case 2:
secondentry();
break;
default:
cout << "Choose again." <<endl;
goto menu;
}
}
int main() {
signuporlogin();
return 0;
}