Hi everyone
I have created separate four class:
and I want to setup a main menu, so if a user press 1, then it goes to the Annulus Class, if a user press 2, it goes to Diameters Class and if a user press 3, it goes to the Circumference class.
I've spent all day trying to figure it out how I can set up a menu. I've attach my work what I've done so far. Can you help me please?
Many thanks!
Code:public class MainMenu { public static CheckLinesIn CLI = new CheckLinesIn(); public static Annulus A = new Annulus(); public static Diameters D = new Diameters(); public static Circumferences C = new Circumferences(); public static void menu (String[] args) {


Reply With Quote


Bookmarks