Q:

I made a CLI calculator and I am wondering, how can I have the program accept numbers indefinetly until the user inputs a stop command?

You probably understand that I am a beginner, and I know that we aren't really liked by the community.
I made a multi purpose calculator a while back and now I want to expand it. In this question I will be focusing only on one class.
import java.util.Scanner;

public class Calculator {

    public static void calcMenu(Scanner input){
        Scanner oper = new Scanner(System.in);
        System.out.println("Please input the First number:");
        double anum = input.nextDouble();

        System.out.println("Please input on of the following operations:");
        System.out.println("+");
        System.out.println("-");
        System.out.println("*");
        System.out.println("/");
        String equ = oper.nextLine();

        System.out.println("Please input the Second number:");
        double bnum = input.nextDouble();

        switch (equ){
        case "+":
            System.out.println(anum + bnum);
            break;

        case "-":
            System.out.println(anum - bnum);
            break;

        case "*":
            System.out.println(anum * bnum);
            break;

        case "/":
            System.out.println(anum / bnum);
            break;
        }
    }
}

In this Java class, the program can solve equations only with two numbers. I would like to make it like in a standard calculator, where you can input the numbers as much as you want. I would like to do it until the user types something like "done"  and the application will return to the main menu.
This is probably a very nooby question but please help. And if you want to see the whole application: here's the link

A:

This will help you out! :)  
import java.util.InputMismatchException;
import java.util.Scanner;

public class Calculator {

private static double answer;
private static boolean done = false;
private static Scanner in = new Scanner(System.in);

   public static void main(String[] args) {

       try {
           new Calculator().calcExpression();
       } catch (InputMismatchException e) {
           System.out.println("An error occurred. ");
       }
   }

   private void calcExpression() throws InputMismatchException {

       System.out.println("Enter Your Expression Here:");

       System.out.print("Num: ");
       double firstNum = in.nextDouble();
       in.nextLine();

       while (!done) {

           System.out.print("Operator: ");
           String operand = in.nextLine();

           if (operand.equals("=")) {
               break;
           }

           System.out.print("Num: ");
           double secondNum = in.nextDouble();
           in.nextLine();

           calculate(firstNum, operand, secondNum);
           firstNum = answer;
       }

       System.out.printf("Answer is %.2f", answer);
   }

   private void calculate(double num1, String equ, double num2) {

       switch (equ)

       {
           case "/":
               answer = (num1 / num2);
               break;

           case "*":
               answer = (num1 * num2);
               break;

           case "+":
               answer = (num1 + num2);
               break;

           case "-":
               answer = (num1 - num2);
               break;

           case "=":
               done = true;
               break;
       }
   }
}

