... a variable for numerous different values. For example,nMaritalStatusmay be 0 for unmarried, 1 for married, 2 for divorced, 3 for widowed (I think I got them all — oh, wait), or 4 for none of ... chapter. It may sound obvious, but the expression trueevaluates to true. Therefore,while(true)is your archetypical infinite loop. It is the embedded breakcommand that exits the loop. Therefore, ... what the user did wrong before looping back for furtherinput. Showing an example may also help, especially for formatting problems.A little diplomacy can’t hurt, either.Focusing on scope rulesA...