Though I know it\'ll be a bit silly to ask, still I want to inquire more about the technical perspective of it.
A simple example of an infinite loop:
pub
Here is what I did:
while(Exit == false){ Scanner input = new Scanner(System.in); String in = input.next(); switch(in){ case "FindH": FindHyp hyp = new FindHyp(); float output = hyp.findhyp(); System.out.println(output); case "Exit": Exit = true; break; } }