lol
Scanner scan = new Scanner(System.in);
boolean nav, aav;
String ans;
int x = 1;
while(x != 0)
{
System.out.println("is anoni online? (y/n) ");
ans = scan.nextLn();
if(ans == y)
{
aav = true;
}
if(ans == n)
{
aav = false;
}
System.out.println("is nikolai online? (y/n) ");
ans = scan.nextLn();
if(ans = =y)
{
nav = true;
}
if(ans == n)
{
nav = false;
}
if(nav == true)&& if (aav == false)
{
System.out.println("Nikolai is probably next");
}
if(nav == false)&& if (aav == true)
{
System.out.println("Anoni is probably next");
}
if(nav == true)&& if (aav == false)
{
System.out.println("It could be either Nikolai or Anoni next");
}
if(nav == false)&& if (aav == false)
{
System.out.println("Make a guess");
}
}
yeah