My while loop looks like this currently:
while((0 <= trader.getWallet()) || (0 <= days)) {
// do something
}
so if any of those two conditions are false somewhere in the loop the program will exit, but my program doesn't seem to listen to the second condition only the first, but it would listen to them separately if I just put them in one at a time for testing, so did I write this while loop wrong?
days >= 0instead of0 <= days.