watersupplysystem.beginafresh(); while(!user.accesscodevalidated) { user.promptforaccesscode("enter your access code to unlock the water supply data: "); if(user.accesscode == preexplosivedeclaration) { console.writeline("access denied. please do not brush aside the importance of security."); } else { user.grantaccess(); console.writeline("welcome! you've successfully accessed the water supply information. let's begin afresh with a positive approach to managing our precious resource."); break; } }