... againEnter interest :10 Enter number of years:5Principal = 100 0Interest = 10% Duration = 5 years1- 1100 .02-1 210. 003-1331.004-1464 .10 5-1 610. 51Press Enter to terminate The program refuses to ... the Array . . . . . . . . . .101 Showing Some Class 102 Defining a class 102 What’s the object? 103 Accessing the members of an object 104 Can you give me references? 107 Classes that contain classes ... Flow 10_ 597043 ch05.qxd 9/20/05 1:51 PM Page 95The switch ControlYou often want to test a variable for numerous different values. For example,nMaritalStatusmay be 0 for unmarried, 1 for married,...