Having issues with having a program re-run
<p>I am writing a program that will ask the user to guess a random number 6 times. The program has to ask if they want to play again and will keep a running total of the wins/losses. 
How would I have the program rerun? </p>

<p>heres the code:</p>

<pre><code>    import java.util.Scanner;
import java.util.Random;

public class Project {
  public static void main(String[] args) {

String input;
double guess = 0;
int number;
double wins = 0;
double losses = 0;
String repeat;

Scanner keyboard = new Scanner(System.in);
  Random randomNumbers = new Random();

System.out.println("Welcome to Higher/Lower!");

System.out.println("Enter your name: ");
input = keyboard.nextLine();

while(input.equalsIgnoreCase("yes")); {
  number = randomNumbers.nextInt(100) + 1;
  System.out.println("I've chosen my number, " + input + "You only have 6 tries, good luck!"); }

  for(int num = 1; number != guess &amp;&amp; number &lt;= 6; num++) {
    System.out.println("Enter guess " + num + ":");
    guess = keyboard.nextDouble();
    if(guess &lt; number)
      System.out.println("higher.");
    else if(guess &gt; number)
      System.out.println("lower.");
    else
      System.out.println("Congratulations!"); }

                           if(guess == number)    {
      System.out.println("You guesses my number!"); wins++; }
                           if(guess != number) {
                           System.out.println("Sorry, " + input + " my number was " + number +
                                              "You lose!"); losses++; }

                         System.out.println("Do you want to play again? (Yes/No): ");
                         repeat = keyboard.nextLine();

                         if(input.equalsIgnoreCase("no")); {
                           System.out.println("Thanks for playing!"); }

                           System.out.println(wins + " wins");
                           System.out.println(losses + " losses");
                         }
}
</code></pre>

<p>It is skipping over asking me if i want to play again or not and i dont know what kind of loop to use</p>