Chapter 2 - Test Questions - Easy semester

A while loop because the list of grades may be empty. A for loop, because the length of the list of numbers is known. A do-while loop could be used since there will be at least one value tested. A while loop because the list of grades may be empty. Predict the output of the following nested loops: int n = 1; while(n =1) ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download