Loop,Repeat Program in Java (Java Beginner question)
<p>I want when the user enter any choice (1,2,3,4) it will show the user (Still under constriction) then he gets back to the program again. how can I do that using if statment or a way other then SWTICH method??</p>

<pre><code>import java.util.Scanner;
public class Tt {

    public static void main(String [] args) {
        Scanner kb= new Scanner (System.in);
        int choice;
        do{
            System.out.println("Please enter your choice from the following menu:");
            System.out.println("1. Enter student tanscript");
            System.out.println("2. Display transcript summary");
            System.out.println("3. Read student transcript from a file");
            System.out.println("4. Write 1transcript summary to a file");
            System.out.println("5. Exit");

            choice = kb.nextInt();

            switch (choice) {

                case 1:
                case 2:
                case 3:
                case 4:
                    System.out.println("Under construction");
                    System.out.println();
                    break;
                case 5:
                    break;

            }
        }while (choice &gt; 0 &amp;&amp; choice &lt; 5);

    }


}
</code></pre>
