private void CreateGarage() { int garageSize; bool isSizeOk = true; do { ui.Print("You are welcome to create a garage based on your needs!"); garageSize = ui.AskForInt("The garage are occupied by 2 vehicles ..!!\n" + "\n**please enter the garaze size based on your need: "); if (garageSize < 2) { ui.Print("Require input more than 2!"); } else { isSizeOk = false; } } while (isSizeOk); garageHandler = new GarageHandler(garageSize); }