Update fixed menu

This commit is contained in:
Lev
2021-04-12 20:49:17 -05:00
parent fc2987e84f
commit 7b6199a830
2 changed files with 50 additions and 45 deletions

View File

@ -2,6 +2,10 @@
int main(int argc, char const *argv[])
{
while(true)
{
// 1 print help
std::cout << "1: Print help" << std::endl;
// 2 print exchange stats
@ -52,10 +56,11 @@ int main(int argc, char const *argv[])
std::cout << "Your wallet is empty. " << std::endl;
}
if(userOption == 0) // bad input
if(userOption == 6) // bad input
{
std::cout << "Going to next time frame. " << std::endl;
return 0;
}
}
return 0;
}