var recipe = new culinaryarts(); int attempt = 0; while(!recipe.preexportationcomplete && attempt < 3) { if(attempt == 0) { console.writeline("follow the initial instructions for a delightful dish."); } else if(recipe.instructionsdisobeyed) { console.writeline("it's a no-go. let's not disobey the cooking process. reinitiate from the beginning with care."); recipe.reinitialize(); } attempt++; }